scm/bb/tizen-distro.git
12 years agohdparm: Use update-alternatives
Mark Hatle [Fri, 13 Apr 2012 23:41:08 +0000 (18:41 -0500)]
hdparm: Use update-alternatives

Switch to using update-alternatives, this ensures that the
call to update-alternatives and package provides are correct.

(From OE-Core rev: a9b046297c10ca2b2368012803cd719ff59292d7)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: move wpa_passphrase to bindir
Andreas Oberritter [Tue, 17 Apr 2012 13:05:23 +0000 (15:05 +0200)]
wpa-supplicant: move wpa_passphrase to bindir

* wpa_passphrase doesn't require special privileges.

(From OE-Core rev: 4a4c568e25a08e9f222d723f9819582c9f895c58)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: remove unused files
Andreas Oberritter [Thu, 12 Apr 2012 02:33:08 +0000 (04:33 +0200)]
wpa-supplicant: remove unused files

* defconfig, init.sh, wpa_supplicant-0.5.7-always-scan.patch,
  wpa_supplicant-fix-deprecated-dbus-function.patch and
  wpa_supplicant_default.conf are not used by the recipe.
* default-sane gets installed but is unused.

(From OE-Core rev: 740b5baa511b40ee7bc3050770b6d5102e00f8f5)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: use PKGSUFFIX for libpython2
Andreas Oberritter [Thu, 12 Apr 2012 02:30:02 +0000 (04:30 +0200)]
python: use PKGSUFFIX for libpython2

* python-nativesdk shouldn't provide libpython2, but
  libpython2-nativesdk.

(From OE-Core rev: 6691d036fff6ba6d7e50a6add8e30cb47e1e60ed)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
[PR Bump - sgw]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: backport test script fixes
Otavio Salvador [Wed, 4 Apr 2012 12:18:11 +0000 (12:18 +0000)]
connman: backport test script fixes

Those fixes are required to get the test scripts to work with current
0.79 DBus API.

(From OE-Core rev: 0d6abd0ff634604cdde2b80f625d6ca2a015948a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Fix linking with gold linker
Khem Raj [Sun, 8 Apr 2012 05:00:56 +0000 (22:00 -0700)]
connman: Fix linking with gold linker

Fixes errors like below

/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld:
error: hidden symbol '__start___debug' is not defined locally
/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld:
error: hidden symbol '__stop___debug' is not defined locally
collect2: ld returned 1 exit status
make[1]: *** [plugins/loopback.la] Error 1

(From OE-Core rev: 0bc79de634841c57868be3d7d8b0fd8bf47ccc18)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoaugeas: Add libxml2 dependency
Martin Donnelly [Tue, 10 Jan 2012 13:32:04 +0000 (13:32 +0000)]
augeas: Add libxml2 dependency

This patch fixes the following Augeas configure error.

| checking for LIBXML... no
| configure: error: Package requirements (libxml-2.0) were not met:
|
| No package 'libxml-2.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables LIBXML_CFLAGS
| and LIBXML_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| ERROR: oe_runconf failed

(From OE-Core rev: 72edbba1ad212986be74aaa15eb9c785c6456d30)

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: upgrade from 1.11.2 to 1.11.3
Nitin A Kamble [Fri, 16 Mar 2012 19:00:03 +0000 (12:00 -0700)]
automake: upgrade from 1.11.2 to 1.11.3

Removed already upstream patch:
  automake/automake_1.11.2_fix_for_pkglibexec_SCRIPTS.patch

Rebased these patches to the newer code:
  automake/prefer-cpio-over-pax-for-ustar-archives.patch
  automake/python-libdir.patch

Changed the tarball name from bz2 to gz, as the bz2 tar ball
is not published for the 1.11.3 version.

[RP: Fix python.m4 to preserve the tweaks that allow us to build python modules]
(From OE-Core rev: 94bf72aeae035ffade75bd9343937888bbb09c82)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4: move from 4.8.0 to 4.8.1
Andreas Oberritter [Wed, 28 Mar 2012 19:46:55 +0000 (21:46 +0200)]
qt4: move from 4.8.0 to 4.8.1

* No changes other than source checksums and PR at recipe level.
* DEFAULT_PREFERENCE still set to -1

(From OE-Core rev: 6a21cf0068234152b3f13866dc7c05adc6d0d9c9)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibusb*: import native support from meta-oe
Martin Jansa [Mon, 26 Mar 2012 12:27:54 +0000 (14:27 +0200)]
libusb*: import native support from meta-oe

(From OE-Core rev: 971361a4fac5622858f71a87c478e16ef02c4d76)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: import native support and --disable-introspection from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:48 +0000 (23:30 +0100)]
pango: import native support and --disable-introspection from meta-oe

* see http://git.openembedded.org/meta-openembedded/commit/?id=3f4c8edc60b3426dd96f76504169d742a04c1ce1
  for details about --disable-introspection

(From OE-Core rev: f3ff6f0d0ae3cef6f30a80fc64c251aec9dd1a01)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotiff: import native support from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:46 +0000 (23:30 +0100)]
tiff: import native support from meta-oe

(From OE-Core rev: fef8ef18e4aa441739137769d753dc882281e8fc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocairo: import native support from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:45 +0000 (23:30 +0100)]
cairo: import native support from meta-oe

(From OE-Core rev: d8f4551d96c952cb62e8d96f9d5d491be9151279)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopixman: add native support and perl-native to DEPENDS from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:44 +0000 (23:30 +0100)]
pixman: add native support and perl-native to DEPENDS from meta-oe

(From OE-Core rev: 94cb365fdc54e119de958657f7ccf25f9f769017)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: import native support from meta-oe
Martin Jansa [Fri, 23 Mar 2012 22:30:43 +0000 (23:30 +0100)]
librsvg: import native support from meta-oe

(From OE-Core rev: 5a8bcd72d9e49e727c02a0ff66c5bdc83637335a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-render: Add recipe that provides libxcb-render-util
Marko Katic [Fri, 16 Mar 2012 00:00:07 +0000 (01:00 +0100)]
xcb-util-render: Add recipe that provides libxcb-render-util

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
This library was previously provided by xcb-util and is now a separate package.

(From OE-Core rev: 7703a00515b3cc8f7d3855cf3654ee243ef7b146)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-image: Add recipe that provides libxcb-image.
Marko Katic [Fri, 16 Mar 2012 00:00:05 +0000 (01:00 +0100)]
xcb-util-image: Add recipe that provides libxcb-image.

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
This library was previously provided by xcb-util and is now a separate package.

(From OE-Core rev: b554e29f356e3af27beaffb5b538265d010cd08e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-keysyms: Add recipe that provides libxcb-keysyms.
Marko Katic [Fri, 16 Mar 2012 00:00:06 +0000 (01:00 +0100)]
xcb-util-keysyms: Add recipe that provides libxcb-keysyms.

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
This library was previously provided by xcb-util and is now a separate package.

(From OE-Core rev: e93c121b66f689df98b953b164abc4bd61351e37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-util-wm: Add recipe that provides libxcb-icccm and libxcb-ewmh
Marko Katic [Fri, 16 Mar 2012 00:00:08 +0000 (01:00 +0100)]
xcb-util-wm: Add recipe that provides libxcb-icccm and libxcb-ewmh

Xcb-util was split into separate packages in the 0.3.6 -> 0.3.8 transition.
These libraries were previously provided by xcb-util and are now a separate package.

(From OE-Core rev: ee488dd2c33bb3f2818f28bd5db670f09d53ce1f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb_util.inc: Remove packaging and modify SRC_URI for multiple ${BPN} names
Marko Katic [Fri, 16 Mar 2012 00:00:04 +0000 (01:00 +0100)]
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

(From OE-Core rev: da4a2d49cd1674eddef80c58e5f2effc0035e477)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-evdev: Upgrade to 2.7.0
Saul Wold [Fri, 16 Mar 2012 07:05:13 +0000 (00:05 -0700)]
xf86-input-evdev: Upgrade to 2.7.0

(From OE-Core rev: 18c0547fb870ccbdd6b08b4ad449591dfc8bba5c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-input-vmmouse: Upgrade to 12.8.0
Saul Wold [Fri, 16 Mar 2012 07:03:48 +0000 (00:03 -0700)]
xf86-input-vmmouse: Upgrade to 12.8.0

(From OE-Core rev: d5440f4d8b2df46916669a21ff916812df00efdb)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxf86-video-vmware: Upgrade to 12.0.1
Saul Wold [Fri, 16 Mar 2012 07:02:55 +0000 (00:02 -0700)]
xf86-video-vmware: Upgrade to 12.0.1

(From OE-Core rev: 647078a9213f5a1c80c8fa25a5e06c271f5f6e8c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: fd989e1bceef6df36619ba8944c8141abefd282e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: 117ca04008415ed0e6e10dcd373ab5f685b3225a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: Add a new case to issue sanity_check()
Dongxiao Xu [Tue, 24 Apr 2012 08:18:15 +0000 (16:18 +0800)]
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.

(From OE-Core rev: 19704f9e69ecf09531687385b478b47f49fe372d)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Issue sanity check after parse is completed
Dongxiao Xu [Tue, 24 Apr 2012 08:16:12 +0000 (16:16 +0800)]
Hob: Issue sanity check after parse is completed

In original scheme, sanity check is part of the parsing process. If a
sanity check fails, it means the parsing is failed and values in Hob
GUI may not correct.

With this commit, Hob will actively issue sanity_check() after the
parsing is completed.

This fixes [YOCTO #2361]

(Bitbake rev: 36968815dcc91759eeacb308bf4b294af416eee5)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Add proxy setting into setting's md5
Dongxiao Xu [Tue, 24 Apr 2012 08:16:11 +0000 (16:16 +0800)]
Hob: Add proxy setting into setting's md5

If user changed the proxy setting, we will reparse configuration because
it may need sanity check.

(Bitbake rev: 0be54917cd88ea8f110027a7840ac69a411fd589)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevent.py: Add SanityCheck and SanityCheckPassed events
Dongxiao Xu [Tue, 24 Apr 2012 08:16:10 +0000 (16:16 +0800)]
event.py: Add SanityCheck and SanityCheckPassed events

(Bitbake rev: 4d7bf9d813229b78b1cd87d06f7042e7923b7db4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: 85bebd85c4f6603ac8fc1290121c34b92cc434f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: PR bump.
Lianhao Lu [Mon, 23 Apr 2012 10:10:43 +0000 (18:10 +0800)]
pseudo: PR bump.

Bump PR value due to the commit
c6c701f424aeb502d20ff02d02712e56f4e259a5.

(From OE-Core rev: b6ee2880fccf04923ede31256ea418451cbf2e46)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoscripts/hob: disable sanity checks when launching
Joshua Lock [Mon, 23 Apr 2012 21:36:10 +0000 (14:36 -0700)]
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.

(From OE-Core rev: fe98d1c7159636f123b27292bbd4cc224b532bf0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: add variable to disable the sanity checks
Joshua Lock [Mon, 23 Apr 2012 21:36:09 +0000 (14:36 -0700)]
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.

(From OE-Core rev: b022641f939bcfcdaddddc4db3af4d2dc70de832)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix various contamination issues leading to broken/missing c modules
Richard Purdie [Mon, 23 Apr 2012 21:46:42 +0000 (22:46 +0100)]
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.

(From OE-Core rev: 20e2761e1da1cb5dcd267e161f2a6b6a429e9f39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add a STAGING_BASELIBDIR variable that recipes can use to find base_libdir
Richard Purdie [Mon, 23 Apr 2012 21:45:36 +0000 (22:45 +0100)]
bitbake.conf: Add a STAGING_BASELIBDIR variable that recipes can use to find base_libdir

(From OE-Core rev: 4697911991caa2f2a21dd43f54e0c4404d722873)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohob: enable sanity checks after launch
Joshua Lock [Mon, 23 Apr 2012 21:35:44 +0000 (14:35 -0700)]
hob: enable sanity checks after launch

To ensure the users configuration is sanity tested enable the sanity
checks after the GUI has started but before any parsing is done.

(Bitbake rev: 244ce2b900ae6cecbeeccfe2056e61c132476261)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: b19af63)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitramfs-live-boot: Disable unionfs until its issue with the system rootdir are...
Richard Purdie [Sun, 22 Apr 2012 14:47:30 +0000 (15:47 +0100)]
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]

(From OE-Core rev: 60ee26ae23132b916019d58e20b8c2e1ddd2b471)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Drop nativesdk wrapper and link against old memcpy symbol
Richard Purdie [Sun, 22 Apr 2012 14:46:17 +0000 (15:46 +0100)]
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]

(From OE-Core rev: c6c701f424aeb502d20ff02d02712e56f4e259a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Fix bashisms
Richard Purdie [Thu, 19 Apr 2012 22:01:09 +0000 (23:01 +0100)]
pseudo: Fix bashisms

(From OE-Core rev: 90e22bbb316088fa951d51e75de4e5424bd51ed6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Ensure kernel modules get stripped
Richard Purdie [Thu, 19 Apr 2012 12:17:57 +0000 (13:17 +0100)]
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.

(From OE-Core rev: 00b0a5f2f51bb3f88bbb9ae558c2859e3c1c406c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values
Richard Purdie [Thu, 19 Apr 2012 07:48:25 +0000 (08:48 +0100)]
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.

(From OE-Core rev: 751ead4fa7d4120de906a1d9cb1d5a29357bebad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Backport a patch to solve SSE2 instruction emulation issues
Richard Purdie [Thu, 19 Apr 2012 07:44:11 +0000 (08:44 +0100)]
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]

(From OE-Core rev: 69d083f8b8d8f7d095ed5682d305870c4d93fe62)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: Update poky revision to point at the 1.2 release branch
Richard Purdie [Wed, 18 Apr 2012 14:58:45 +0000 (15:58 +0100)]
self-hosted-image: Update poky revision to point at the 1.2 release branch

(From OE-Core rev: 00256125873ff6f1630743a712e882e5f473a9d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackageinfo.bbclass: A workaround for RPM architecture renaming
Dongxiao Xu [Wed, 18 Apr 2012 12:48:16 +0000 (20:48 +0800)]
packageinfo.bbclass: A workaround for RPM architecture renaming

For beagleboard platform, the PACKAGE_ARCH for certain recipes is
"armv7a-vfp-neon", however, the architecture label in RPM file name is
"armv7a" due to a potential bug in RPM backend.

This commit is a workaround to make Hob work in this case.

(From OE-Core rev: 00bd4589b21fe3a716ff2732ea55651c4abd77e4)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package description
Richard Purdie [Wed, 18 Apr 2012 11:06:48 +0000 (12:06 +0100)]
lsb: Fix PR bump, fix bashisms, correct dependency issue, tweak package description

(From OE-Core rev: 48ef8dbb0d1bdbc7e0e62665b5112282637f3266)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sanity: import regular expression module in SuSE distro check
Paul Eggleton [Wed, 18 Apr 2012 09:56:10 +0000 (10:56 +0100)]
classes/sanity: import regular expression module in SuSE distro check

We call re.sub here, so we need to "import re" or an error occurs
(tested on OpenSuSE 12.1).

(From OE-Core rev: cb1f7cffc171e6b182f33a69ff688d76b7f1baed)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/sanity: trim trailing newline when reading /etc/redhat-release
Paul Eggleton [Wed, 18 Apr 2012 09:56:09 +0000 (10:56 +0100)]
classes/sanity: trim trailing newline when reading /etc/redhat-release

Any trailing whitespace needs to be stripped before comparing it to the
SANITY_TESTED_DISTROS list.

(From OE-Core rev: bea0311a6478febe8ab4884fb1c479f610856534)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES
Paul Eggleton [Tue, 17 Apr 2012 23:18:35 +0000 (00:18 +0100)]
libproxy: remove dependency on gconf when x11 not in DISTRO_FEATURES

This allows libzypp to successfully build when x11 is not in
DISTRO_FEATURES (avoiding the libzypp -> libproxy -> gconf -> gtk+
dependency chain which without X results in gtk+ failing at
do_configure).

Fixes [YOCTO #2320].

(From OE-Core rev: 973351cf2e338f07c11395d494193e9c62857f2d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemugl: make postinst run at first boot
Scott Garman [Tue, 17 Apr 2012 23:10:30 +0000 (23:10 +0000)]
qemugl: make postinst run at first boot

The previous postinst script was not working for images which use
RPM because do_rootfs could allow qemugl to be installed after
libgl1, and the postinst needs to run after libgl1 is installed.

Hence, it's being changed to run at first boot instead of during
do_rootfs.

(From OE-Core rev: dc0fe3fbf9ca862c1d0d90468e6da326f58e3b41)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoself-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV
Saul Wold [Tue, 17 Apr 2012 22:02:13 +0000 (15:02 -0700)]
self-hosted-image: remove BB_NO_NETWORK and update Poky SRCREV

Remove BB_NO_NETWORK because we can not guarentee that all
downloads will be available in the self-hosted image for
the possible targets being built.  If this image is run with
out networking, failures may be seen and BB_NO_NETWORK
should be set via the Hob

Update the Poky SRCREV so it has the latest set of fixes and
patches.

(From OE-Core rev: 70541d5e82ee05289eb0095bed4b121d12a00729)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-self-hosted: Add LSB for distro info
Saul Wold [Tue, 17 Apr 2012 22:02:12 +0000 (15:02 -0700)]
task-self-hosted: Add LSB for distro info

The lsb package is needed to enable the distro checking
in the self hosted image. Currently there is no standard
identification in the self-hosted image so use the existing
lsb package which provides lsb_release that parses the
/etc/release file

(From OE-Core rev: 1373865ce7f205a8e63f42caf436e9e2f7a565f5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsb: Add DISTRO Info to /etc/lsb-release file also add util-linux to DEPENDS
Saul Wold [Tue, 17 Apr 2012 22:02:11 +0000 (15:02 -0700)]
lsb: Add DISTRO Info to /etc/lsb-release file also add util-linux to DEPENDS

Add the DISTRO* fields to the /etc/lsb-release file so the distro
parsing code can find standard information about the Poky Distro
when using the Self-Hosted Image.

The lsb_release command uses getopt which is provided by util-linux

(From OE-Core rev: eddb1d6f458bcf8b0473a360fad3f4a259a57d28)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: remove kernel config audit warnings
Bruce Ashfield [Tue, 17 Apr 2012 22:01:46 +0000 (18:01 -0400)]
linux-yocto/meta: remove kernel config audit warnings

Updating the meta SRCREVs to pickup the following meta change for the
3.0 and 3.2 kernels:

[
    meta: Clean up BSPs kernel config

    Clean up some QEMU and non-x86 BSPs kernel config, including

    qemuarm
    qemuppc
    qemux86
    beagleboard
    mpc8315e_rdb

    Only obsolete/invalid kernel configs are removed.

    (From OE-Core rev: 1f68d624c109c3f31a6f2f6106b5ef56e3d9a166)

Signed-off-by: Yang Shi <yang.shi@windriver.com>
]

With this commit, the configuration audit for the qemu and hardware
reference boards is (largely) warning free.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/meta: beagleboard: disable CONFIG_PREEMPT
Bruce Ashfield [Tue, 17 Apr 2012 22:01:45 +0000 (18:01 -0400)]
linux-yocto/meta: beagleboard: disable CONFIG_PREEMPT

Updating the meta SRCREV for both the 3.0 and 3.2 kernel trees to
pickup the beagleboard xM boot fix:

[
    meta/beagleboard: disable CONFIG_PREEMPT

    The boot hangs with the message:
    mmc0: error -110 whilst initialising SD card

    The MMC driver has issues initializing when PREEMPT is enabled (either forced
    or voluntary). Unplugging and then plugging the card back will reset the
    driver and continue booting. Alternatively, disable preemption.
]

[YOCTO: #1892]

(From OE-Core rev: 36e9e6a88bc4436efefd4a25c0a58be75f887142)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto: .diff is a valid patch extension
Bruce Ashfield [Tue, 17 Apr 2012 22:01:44 +0000 (18:01 -0400)]
linux-yocto: .diff is a valid patch extension

In fixing an existing patch migration bug, the list of valid extensions
got out of sync from the core patch class. As a result, valid patches
were not being applied to the tree.

Updating the tools to migrate .diff files fixes the issue.

Also in this fix is the removal of .patch in the find_sccs() routine, since
it will never be returned by patch.bbclass when all non-patches are
requested, it is simply confusing.

(From OE-Core rev: 0ade3f26f40b67d7296725b1e956c46be9a86089)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomatchbox-wm-2: Fix incorrect update-alternatives
Mark Hatle [Tue, 17 Apr 2012 22:05:52 +0000 (17:05 -0500)]
matchbox-wm-2: Fix incorrect update-alternatives

Update-alternatives was pointing to matchbox-session, and should have
been pointing to matchbox-window-manager.

(From OE-Core rev: 9c08dcf468fd41897627d9efc650c74f8f5d8ed0)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolrzsz: sz, sx and sb were linked incorrectly
Mark Hatle [Mon, 16 Apr 2012 23:16:29 +0000 (18:16 -0500)]
lrzsz: sz, sx and sb were linked incorrectly

The sz, sx and sb links were created incorrectly to lrz, they should
point to lsz.

(From OE-Core rev: 663b608357b86aba5cdf7f07291893725e579b75)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/bb/ui/crumbs/recipeselectionpage: fix type availabel->available
Joshua Lock [Tue, 17 Apr 2012 15:19:05 +0000 (08:19 -0700)]
lib/bb/ui/crumbs/recipeselectionpage: fix type availabel->available

(Bitbake rev: 1a39698ab8498410d159c665c015f9297f153797)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoyocto-bsp: remove kernel26 machine feature from templates
Tom Zanussi [Mon, 16 Apr 2012 01:37:24 +0000 (20:37 -0500)]
yocto-bsp: remove kernel26 machine feature from templates

kernel26 is now obsolete so remove it from the templates that use it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
12 years agolibproxy: Allow to build in non-gplv3 configuration
Richard Purdie [Tue, 17 Apr 2012 13:06:56 +0000 (13:06 +0000)]
libproxy: Allow to build in non-gplv3 configuration

(From OE-Core rev: 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-bad: Add missing PR bump after curl change
Richard Purdie [Tue, 17 Apr 2012 11:33:01 +0000 (12:33 +0100)]
gst-plugins-bad: Add missing PR bump after curl change

(From OE-Core rev: 2865d01773e405212aa6f531139898d90a6819a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: Disable curl explicitly, its not in DEPENDS
Richard Purdie [Tue, 17 Apr 2012 11:30:01 +0000 (11:30 +0000)]
qemu: Disable curl explicitly, its not in DEPENDS

There is an error when build meta-toolchain-sdk on Ubuntu 10.10:

| Installing NATIVESDK packages
| Processing task-sdk-host-nativesdk...
| Processing task-cross-canadian-mips...
| error: Failed dependencies:
|       libcurl.so.4 is needed by qemu-nativesdk-0.15.1-r5.i686
NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed
ERROR: Task 21 (/buildarea2/lyang1/poky/meta/recipes-core/meta/meta-toolchain-gmae.bb, do_populate_sdk) failed with exit code '1'

This is because qemu would depend on curl if it happened to be
available at build time and could confuse the -native and -nativesdk
librbaries.

[YOCTO #2305]

(From OE-Core rev: 566ad643efd03db34b59a427f48ca55ce613cf89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.bbclass: If the sanity tests fail, don't mark them as complete
Richard Purdie [Tue, 17 Apr 2012 11:16:18 +0000 (11:16 +0000)]
sanity.bbclass: If the sanity tests fail, don't mark them as complete

If the sanity tests fail, we still were writing out the stamp which means
they'd get skipped the next time we run bitbake. This is clearly wrong
and we should only write out the stamp file if the sanity tests complete
successfully.

(From OE-Core rev: b99acaa8aa06dcbca46c3f7048124d6f8d643a8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: fix re-execution of compile task
Venkata ramana gollamudi [Tue, 17 Apr 2012 09:04:15 +0000 (09:04 +0000)]
perl: fix re-execution of compile task

After building perl package, re-execution of compile task recursively
 substitutes the path, making it an invalid path.

Fixed to prevent recursive substitution.

Similar case as [Yocto #2194]

(From OE-Core rev: 16542d982d86d42d3189d47a8180f0f71646a9ca)

Signed-off-by: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi-daemon: fix missing init script links
Andreas Oberritter [Tue, 17 Apr 2012 10:37:17 +0000 (12:37 +0200)]
avahi-daemon: fix missing init script links

* update-rc.d wasn't executed when the rootfs was built, because
  pkg_postinst_avahi-daemon exited early. It wasn't run either
  on first boot, because the exit code was 0.

(From OE-Core rev: c084759d7f69b751e1ed3ef79d686389d867f248)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake-layers: hide deprecation warnings
Paul Eggleton [Mon, 16 Apr 2012 22:31:58 +0000 (23:31 +0100)]
bitbake-layers: hide deprecation warnings

There are a number of DeprecationWarnings within BitBake code which
bitbake itself filters out; bitbake-layers was not doing this, resulting
in a stream of warnings printed out when used with Python < 2.7 (these
warnings default to disabled on version 2.7 and above.)

(Bitbake rev: 0a2378237f07eb1c812e2308e64b7d70781e2b39)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agohoblistmodel.py: description for selfcreated image
Beth Flanagan [Mon, 16 Apr 2012 23:13:08 +0000 (16:13 -0700)]
hoblistmodel.py: description for selfcreated image

The current description is empty. This adds a default
description for hob's dummy_image.

(Bitbake rev: 68a65e5eeeb01d78444f1e5b5d1bb7b21c9d0b2c)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Set the "stop" button insensitive before hide it
Dongxiao Xu [Tue, 17 Apr 2012 08:21:39 +0000 (16:21 +0800)]
Hob: Set the "stop" button insensitive before hide it

If user stops a build, we need to firstly set the button insensitive and
then hide it. This ensures the button's init status is "insensitive" in
next build.

(Bitbake rev: ea37272ccc28d6e24b48286e5c4c3edbad1d57cd)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Enlarge the upper value of image size
Dongxiao Xu [Tue, 17 Apr 2012 08:21:38 +0000 (16:21 +0800)]
Hob: Enlarge the upper value of image size

Originally the upper value for image size and extra size is 1024M, which
is relatively small. Enlarge it to 64GB.

Besides, fix tooltip for toolchain build.

(Bitbake rev: 99f01305b4c2253567a1a13a33339b1755a86e6d)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodata_smart: Improve the calculation of config hash
Dongxiao Xu [Tue, 17 Apr 2012 08:21:37 +0000 (16:21 +0800)]
data_smart: Improve the calculation of config hash

For config hash, we put the keys in structure of "set()", which is not
order sensitive. Therefore when calculating the md5 value for config
hash, we need to identify the order of the keys.

(Bitbake rev: 0f1b142a3f6b8125bf023c2e5ec269618869abf7)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add PARALLEL_MAKE to BB_HASHBASE_WHITELIST
Richard Purdie [Mon, 16 Apr 2012 12:19:10 +0000 (13:19 +0100)]
bitbake.conf: Add PARALLEL_MAKE to BB_HASHBASE_WHITELIST

The value of PARALLEL_MAKE shouldn't affect sstate checksums. In general it
doesn't as the value is injected as a task override and the sstate checksum
doesn't track these. That isn't the case for linux-yocto in particular so
adding it the list of variables to ignore is useful.

(From OE-Core rev: a0fbbd7ba979b8aaee701e0997115f89b361b920)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibzypp: add libproxy to DEPENDS
Saul Wold [Mon, 16 Apr 2012 22:08:36 +0000 (15:08 -0700)]
libzypp: add libproxy to DEPENDS

libzypp uses proxy.h to handle proxies

[YOCTO #2306]

(From OE-Core rev: 03cfc6ea6df9d1fbf5520c9707a725e38d2e377b)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistrodata.bbclass: fix comment typo
Otavio Salvador [Wed, 11 Apr 2012 03:19:51 +0000 (03:19 +0000)]
distrodata.bbclass: fix comment typo

Fixes:

  - xf86-intput-synaptics-12.6.9.tar.gz
  + xf86-input-synaptics-12.6.9.tar.gz

(From OE-Core rev: 96800c4801fc7a89d3510763d007fd7854f1a9e3)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoflex: backport Debian patches to fix generated code warnings
Otavio Salvador [Wed, 11 Apr 2012 03:19:52 +0000 (03:19 +0000)]
flex: backport Debian patches to fix generated code warnings

The generated parser had warnings regarding signess and return check
which makes Linux Kernel's perf tool from 3.4 release to fail without
those patches.

(From OE-Core rev: f3d7197252d1ede627a561fbd5b3b7fb759bf75b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: fix segfault on connect
Paul Eggleton [Mon, 16 Apr 2012 21:37:16 +0000 (22:37 +0100)]
connman-gnome: fix segfault on connect

Fixes a segfault in the properties application when connecting to a WiFi
service succeeds.

(From OE-Core rev: 767ec69e6ca633e5bde604241a598147075b1ac0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake-nativesdk: fix builds on fedora 17
Robert Yang [Mon, 16 Apr 2012 09:18:49 +0000 (17:18 +0800)]
automake-nativesdk: fix builds on fedora 17

Generally distros keep perl at /usr/bin/perl
Fedora 17 also has /bin/perl

this causes automake-nativesdk build on such distros to put perl
interpreter path in the perl scripts as /bin/perl

But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation
like this:

| error: Failed dependencies:
|       /bin/perl is needed by automake-nativesdk-1.11.2-r2.x86_64
NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed

The second sed command is for such a case:

eval 'case $# in 0) exec /bin/perl -S "$0";; *) exec /bin/perl -S "$0" "$@";; esac'

This line has two "/bin/perl" and we can't use a line number to tell
sed which line it is since the line numbers in different files are
defferent.

[YOCTO #2304]

(From OE-Core rev: ee7a86c06c2289f01aa5f1da958ce51523495572)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautoconf-nativesdk: fix builds on fedora 17
Robert Yang [Mon, 16 Apr 2012 09:15:58 +0000 (17:15 +0800)]
autoconf-nativesdk: fix builds on fedora 17

Generally distros keep perl at /usr/bin/perl
Fedora 17 also has /bin/perl

this causes autoconf-nativesdk build on such distros to put perl
interpreter path in the perl scripts as /bin/perl

But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation
like this:

| error: Failed dependencies:
|       /bin/perl is needed by autoconf-nativesdk-2.68-r6.x86_64.rpm
NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed

The second sed command is for such a case:

eval 'case $# in 0) exec /bin/perl -S "$0";; *) exec /bin/perl -S "$0" "$@";; esac'

This line has two "/bin/perl" and we can't use a line number to tell
sed which line it is since the line numbers in different files are
defferent.

[YOCTO #2304]

(From OE-Core rev: 393908e53b243b16ab984da7f073be371e062946)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: fix builds on fedora 17
Robert Yang [Mon, 16 Apr 2012 08:36:45 +0000 (16:36 +0800)]
glib-2.0: fix builds on fedora 17

Generally distros keep perl at /usr/bin/perl
Fedora 17 also has /bin/perl

this causes glib-2.0 build on such distros to put perl interpreter path in
the perl scripts as /bin/perl

But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation
like this:

| error: Failed dependencies:
|       /bin/perl is needed by libglib-2.0-utils-2.30.3-r0.ppc603e
NOTE: package meta-toolchain-gmae-1.0-r7: task do_populate_sdk: Failed

[YOCTO #2304]

(From OE-Core rev: 13e6e316d751d0ea3107d5547f6bdd2b74919cad)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: fix re-execution of patch/configure
Paul Eggleton [Mon, 16 Apr 2012 16:43:02 +0000 (17:43 +0100)]
perl: fix re-execution of patch/configure

The perl recipe's do_configure() does some manual sed replacements over
the entire WORKDIR. Fix the following issues with this:

* Skip patches, which fixes re-execution of do_patch after do_configure
  has run once
* Ensure that the replacement operation does nothing if do_configure is
  re-executed
* Avoid unnecessarily modifying /usr/include paths within documentation
  that will end up being packaged
* Fix a quoting issue in the expression used in the grep command that
  ended up causing files that did not contain .*\.h after /usr/include
  to be matched and modified.

The files modified during do_configure have been compared before and
after this patch to ensure there are no unexpected changes. Some
/usr/include paths that are not within documentation are no longer
being substituted however these are all within comments or scripts for
other Unix operating systems that are not applicable.

[YOCTO #2194]

(From OE-Core rev: 19255032e7744fce5cbe466e4869ded378d3b4f5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-sato-sdk: typo in DESCRIPTION
Beth Flanagan [Mon, 16 Apr 2012 20:10:32 +0000 (13:10 -0700)]
core-image-sato-sdk: typo in DESCRIPTION

Fix for a minor type in DESCRIPTION

(From OE-Core rev: 25a997ca9b24d9265b62717fd01ebb26e7d21bba)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-rt-*.bb: require munges DESCRIPTION
Beth Flanagan [Mon, 16 Apr 2012 20:10:31 +0000 (13:10 -0700)]
core-image-rt-*.bb: require munges DESCRIPTION

The require of core-image-minimal overrides the description.
The best fix for this would be conditional setting of DESCRIPTION
in the required images for all image descriptions, but that opens
a potential can of worms. Moving the require fixes this.

(From OE-Core rev: 0bd5f0a86370881b4eb2455df21b0575f6ffd008)

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautogen-native: Fix sstate relocation issue when reusing libguile
Richard Purdie [Mon, 16 Apr 2012 21:08:18 +0000 (22:08 +0100)]
autogen-native: Fix sstate relocation issue when reusing libguile

This was found to cause issues on the Yocto autobuilders and fixes do_compile
failures when guile-native has been relocated.

(From OE-Core rev: d928e91a57e6e9dfa6a7d4e888e1e1064d7fc668)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: fixed a little view issue about package selection page
Liming An [Mon, 16 Apr 2012 10:09:48 +0000 (18:09 +0800)]
Hob: fixed a little view issue about package selection page

In package selection page, treeview cell data callback function not cover the 'else' case, so parent item will render the pervious value.

(Bitbake rev: 98694c1dbc276cc151f393db67bfd43442da28ba)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: add the parent window to 'binb' popup window for managing it
Liming An [Mon, 16 Apr 2012 08:53:28 +0000 (16:53 +0800)]
Hob: add the parent window to 'binb' popup window for managing it

The 'binb' popup window should be "set transient for" the main application
window which they were spawned from.

(Bitbake rev: a6f45b23851e22c7793d9a534fd197316bb5b9b8)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: fixed the issue that the notebook overlay-scrollbar is overlapped
Liming An [Mon, 16 Apr 2012 08:53:27 +0000 (16:53 +0800)]
Hob: fixed the issue that the notebook overlay-scrollbar is overlapped

In those systems which had use gtk overlay-scrollbar feature,such as
Ubuntu 11.10, we have the issue with the multiple overlaped scrollbar in
'Recipe View' notebook or 'Package View' notebook, this patch is going to
fix it.

(Bitbake rev: f6be78d8a45dc501c2bbe1e1a399a342dabe11d5)

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoHob: Fix contents in imagedetailsscreen
Dongxiao Xu [Mon, 16 Apr 2012 07:51:43 +0000 (15:51 +0800)]
Hob: Fix contents in imagedetailsscreen

This commit fixes the contents in imagedetailsscreen, which lacks some
kind of image types, e.x., iso and hddimg.

(Bitbake rev: 4505097f4f7834857a6086d5dabeedb24b49cf4c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Include abi_version.conf in a early stage
Dongxiao Xu [Mon, 16 Apr 2012 07:52:01 +0000 (15:52 +0800)]
bitbake.conf: Include abi_version.conf in a early stage

We may define new OELAYOUT_ABI variable in ${DISTRO}.conf, therefore we
need to move the abi_version.conf before that.

(From OE-Core rev: 4e1a8ed1ab7e7bd950e511c79ddfe072cb280a6e)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoMultilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...
Zhai Edwin [Mon, 16 Apr 2012 06:50:00 +0000 (14:50 +0800)]
Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...

MLPREFIX is needed in RDEPENDS for multilib build

(From OE-Core rev: 380efadd5640e5b57e710549b1ae761d0d3b3792)

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-config-base/poky-feed-config-opkg: Always use ALL_MULTILIB_PACKAGE_ARCHS to...
Richard Purdie [Mon, 16 Apr 2012 11:31:45 +0000 (11:31 +0000)]
opkg-config-base/poky-feed-config-opkg: Always use ALL_MULTILIB_PACKAGE_ARCHS to build arch list

We need consistent configuration files for opkg so we might as well always use
the full list. This is equal to PACKAGE_ARCHS in the non-multilib case.

This fixes various multilib failures with ipk multilibs.

(From OE-Core rev: bc85abc5013d0c831cc3c3823df45536c293aaba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodropbear: Allow tasks to be safely re-executed
Richard Purdie [Mon, 16 Apr 2012 10:32:46 +0000 (11:32 +0100)]
dropbear: Allow tasks to be safely re-executed

Re-running the debug_patch task would cause the build to fail. This patch
moves the extra patch handling directly into SRC_URI and removes the need
for the separate task, allowing safe re-execution of each task.

[YOCTO #2194]

(From OE-Core rev: 1d6156e37ef0f36cf5ce8eeaaf23560215c86833)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocbook-utils-native: Fix re-execution of the unpack task
Richard Purdie [Mon, 16 Apr 2012 10:05:02 +0000 (11:05 +0100)]
docbook-utils-native: Fix re-execution of the unpack task

If the do_unpack task is re-executed, the sed_done stamp was not removed, the
sed commands wouldn't re-run and the build would fail in do_compile. This
patch ensures the stamp is in ${S} and that we clean that directory
when unpack runs so it is a build from sctatch at that point.

[YOCTO #2194]

(From OE-Core rev: 2b190155d74d4369c61d26b1f4f0c3cce389ddbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosgml-common: Fix re-execution of the compile task
Richard Purdie [Mon, 16 Apr 2012 09:49:45 +0000 (10:49 +0100)]
sgml-common: Fix re-execution of the compile task

The sed command run during do_compile isn't idempotent. This change fixes it
so that it is and the compile task can be re-executed.

[YOCTO #2194]

(From OE-Core rev: c9dcfbd87d749baa0a4948738055193982aad26d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowget: Fix re-execution issue
Richard Purdie [Mon, 16 Apr 2012 09:48:35 +0000 (10:48 +0100)]
wget: Fix re-execution issue

The patch in this recipe patches both configure and configure.in which leads
to build failures once configure has executed and regenerated configure.

The fix to make patch re-executable is not to patch configure and
only patch configure.in.

[YOCTO #2194]

(From OE-Core rev: b3df34ba57284fa2c85f34be86d5d8e357becf7c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix re-execution problem due to patching configure and configure.in
Richard Purdie [Mon, 16 Apr 2012 09:47:56 +0000 (10:47 +0100)]
python: Fix re-execution problem due to patching configure and configure.in

There was a patch patching both configure and configure.in. Since the recipes
all autoreconf, this is pointless and means subsequent patch tasks fail.

The fix is to only patch configure.in.

[YOCTO #2194]

(From OE-Core rev: 1d8c40d5f2119b4c4ae8a9b2645ae572ea9a54ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-configure-common.inc: Stop gcc looking at build system paths
Richard Purdie [Sun, 15 Apr 2012 17:05:53 +0000 (18:05 +0100)]
gcc-configure-common.inc: Stop gcc looking at build system paths

There were puzzling failures when you make a force recompile of any gcc
component. The error was in do_configure with cross-compilation badness
being detected in config.log files.

gcc is different in that many of the config.log files are generated during
the do_compile phase. This means this host contamination issue has always
been present but only shows up on a rebuild.

The fix is to force the appropriate configuration variable to "none required"
then gcc won't look in the bad locations.

[YOCTO #2279]

(From OE-Core rev: e7135f14f3ef37f93f5c28b319464f3d6dd9b8da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-bad: add curl as build dependency
Dongxiao Xu [Sat, 14 Apr 2012 10:44:14 +0000 (18:44 +0800)]
gst-plugins-bad: add curl as build dependency

gst-plugins-bad needs curl.h to finish its build, so add curl as its
dependency.

(From OE-Core rev: daa4d625524dc330786858ade570918cff0bc5d3)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonet-tools: Fix do_patch to be re-executable
Richard Purdie [Sun, 15 Apr 2012 16:06:47 +0000 (17:06 +0100)]
net-tools: Fix do_patch to be re-executable

This recipe's do_patch was not able to be re-executed due to its custom
patching functions. This fixes things so that it can be re-executed.

It also fixes the unpack task re-execution by ensuring ${S} is clean
before the unpack starts.

[YOCTO #2194]

(From OE-Core rev: 1cfddb17e0c2576e55f62c10612e7cbd73e5ac5e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoman-pages: Fix to allow re-execution of tasks
Richard Purdie [Sun, 15 Apr 2012 15:32:29 +0000 (16:32 +0100)]
man-pages: Fix to allow re-execution of tasks

The all target in the makefile triggers "screen" and "remove" targets,
neither of which do anything useful/sane for our usecases. The simplest
way to get the makefile to behave is to only use the install target.

Clean up the recipe a bit whilst making these changes and simplify things.

[YOCTO #2194]

(From OE-Core rev: 06f6ca50c0cffdaf828688e01fcc70265eafa093)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopseudo: Ensure the correct libraries are used at runtime
Richard Purdie [Sun, 15 Apr 2012 15:00:42 +0000 (16:00 +0100)]
pseudo: Ensure the correct libraries are used at runtime

There can be a conflict between the nativesdk libc and the host system's
libc. It is assumed the nativesdk version is of an equal or higher version.
This is a particular issue for pseudo if its loading a system binary
since the system's libc might be used of an older verison which would
then confuse libpseudo.so when loaded as a preload.

To avoid this, set LD_LIBRARY_PATH so the nativesdk libc is always
used.

Since we now use --without-rpath, we can remove the MAKEOPTS RPATH workaround.

[YOCTO #2299]

(From OE-Core rev: a481fe3b9883aa744be3253e2b4b27e6e46eb059)

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