scm/bb/tizen-distro.git
12 years agokernel-yocto.bbclass: Fix some obvious typoes in comments.
Robert P. J. Day [Fri, 20 Jul 2012 15:19:23 +0000 (11:19 -0400)]
kernel-yocto.bbclass: Fix some obvious typoes in comments.

(From OE-Core rev: 072476bb6468d984ae3246f478fd5b3a21f7c8d6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssl: upgrade to 1.0.0j
Scott Garman [Fri, 20 Jul 2012 15:38:34 +0000 (08:38 -0700)]
openssl: upgrade to 1.0.0j

Addresses CVE-2012-2333

Fixes [YOCTO #2682]

(From OE-Core rev: 57f45fca7b8e1c0cf98d295bc0fd8839799dfa86)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautoconf: updated to 2.69
Bogdan Marinescu [Thu, 19 Jul 2012 10:33:52 +0000 (13:33 +0300)]
autoconf: updated to 2.69

Tested with core-image-sato-sdk and lib32-core-image-sato-sdk.
This update was done mainly because multilib builds failed on master with this error:

| autoreconf: running: aclocal -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/m4/ -I /poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/aclocal-copy/ -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/m4/ -I /poky/build/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /poky/build/tmp/work/x86-pokymllib32-linux/lib32-automake-1.12.1-r0/automake-1.12.1/aclocal-copy/ --force --warnings=cross
| aclocal: warning: unknown warning category 'cross'
| configure.ac:18: error: Autoconf version 2.69 or higher is required

(From OE-Core rev: effb75d42098b3e367d393215fd5d52a0191e954)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxml2: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:13 +0000 (13:46 -0400)]
libxml2: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: fae8b8e3f172a7523c0d5cc416031f3d571b9f81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperf: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:19 +0000 (13:46 -0400)]
perf: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: d27cd814162fde3362278435a6842928310c2704)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogobject-introspection: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:15 +0000 (13:46 -0400)]
gobject-introspection: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 2d0f88f0e8d275caca2a89ec1ad4b2e03cb8e8f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-common: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:16 +0000 (13:46 -0400)]
mesa-common: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 003dad555c7c3df61000bf7f712abb4050f3b4e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotelepathy-python: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:12 +0000 (13:46 -0400)]
telepathy-python: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: ac037bb9aeab67c1b8b8400b0b8ad5f507c75a48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomklibs-native: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:10 +0000 (13:46 -0400)]
mklibs-native: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 0751ba97969bf7ef21e0c9a0bbe52001052f02af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-pyrex-native: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:09 +0000 (13:46 -0400)]
python-pyrex-native: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: a043a7737da1123df5ff06ede3e9ed1fdcc163f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-scons-native: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:08 +0000 (13:46 -0400)]
python-scons-native: Update for python-native changes

Add pythonnative to the inherits list

(From OE-Core rev: 7f3105d380370ae1f4fbc2e8295c80f22dfb16cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Update for python-native changes
Morgan Little [Thu, 19 Jul 2012 17:46:07 +0000 (13:46 -0400)]
python: Update for python-native changes

Add pythonnative onto the list of inherits and update the paths to the binaries
referenced in the recipe to the new paths.

(From OE-Core rev: 284a65d55f0ffad0f4f7f32d72da0f9410578643)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython-native: Put binaries in seperate directory
Morgan Little [Thu, 19 Jul 2012 17:46:06 +0000 (13:46 -0400)]
python-native: Put binaries in seperate directory

Update python-native to install the binaries in the python-native directory,
add pythonnative.bbclass to let recipes that need python-native use the
binaries and update disutils access the new binaries. Update distutils-base
to inherit pythonnative.

(From OE-Core rev: a2e554f731437545e9483a7a73e6847c03f6f48a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRemove gtk-doc
Ross Burton [Thu, 19 Jul 2012 07:19:59 +0000 (08:19 +0100)]
Remove gtk-doc

(From OE-Core rev: f8a87fd585fc199a7c7cff81d11fdc35b16cf3d2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agovte: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:19:08 +0000 (16:19 +0100)]
vte: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 13a047c8c9c93844b4650fa5ef7160d8c6ffb4ee)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoatk: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:18:28 +0000 (16:18 +0100)]
atk: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 72fb39271b755bf5aef62fc9109cfaee00356fe4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:17:54 +0000 (16:17 +0100)]
webkit-gtk: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 56011bb732950da207ab55a891aa8fc228a9f5e9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:17:21 +0000 (16:17 +0100)]
evolution-data-server: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 18ef5e7d691a05565db88ffd0c13475ad9b0dcf3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you were looking for
Ross Burton [Thu, 19 Jul 2012 15:16:09 +0000 (16:16 +0100)]
kmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you were looking for

(From OE-Core rev: 964b0f39c3ef884eeb4d372924610c29fa2c18f2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopango: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:13:09 +0000 (16:13 +0100)]
pango: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 1c5fbfe7f284c8e8f6d850593192b8350c3ce7d5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclutter: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:11:30 +0000 (16:11 +0100)]
clutter: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: d8b88ecd46b1397ff3d598ee82fcaedf6d59e8af)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibrsvg: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:07:03 +0000 (16:07 +0100)]
librsvg: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 067753ca9b0b344352773fe34317c921e4ab6bb8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibglade: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 15:05:53 +0000 (16:05 +0100)]
libglade: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 1c5143219d9d03a1d692379259ab628b152dc958)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogtk+: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:58:37 +0000 (15:58 +0100)]
gtk+: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 7402d0346a02501cd3882cfa8623fbf30d592291)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgnome-keyring: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:56:53 +0000 (15:56 +0100)]
libgnome-keyring: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: a1cf5b8cbe63313349697e51d40de9d94e9db231)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibart-lgpl: Does not require gtk-doc
Saul Wold [Sun, 22 Jul 2012 03:37:10 +0000 (20:37 -0700)]
libart-lgpl: Does not require gtk-doc

(From OE-Core rev: c10bd1f3e970fb2846752b5d902fdc017975d4c4)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibart_lgpl: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:55:25 +0000 (15:55 +0100)]
libart_lgpl: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 61ff0565f57c132d3df14cfa0bc39a2143cf4d90)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-keyring: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:52:59 +0000 (15:52 +0100)]
gnome-keyring: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 2ac9cde86cc7aa95983571de7e04521748aee8be)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogail: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:47:43 +0000 (15:47 +0100)]
gail: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: ae03a2f8c5aa0cb96240053a95ba87cbda8d4d75)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit-gnome: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:28:50 +0000 (15:28 +0100)]
polkit-gnome: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: ad73d4c773b68034e0a86542e8ee4bc0e72ae74c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:26:21 +0000 (15:26 +0100)]
polkit: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: f9ef526fef045a213d98c85187384d800456baec)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:23:29 +0000 (15:23 +0100)]
connman: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 8dd09828c75bc1e6f16226c09ea7423a5333ef93)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogconf: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:20:21 +0000 (15:20 +0100)]
gconf: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: bca338557acb23f74eb5a44f0a08b07361c40881)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogypsy: inherit gtk-doc
Ross Burton [Thu, 19 Jul 2012 14:15:09 +0000 (15:15 +0100)]
gypsy: inherit gtk-doc

(From OE-Core rev: 5caa2b521ed82cc1a223eddc59450ce68bbb3962)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocogl: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:14:47 +0000 (15:14 +0100)]
cogl: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 69bae4de251da32e26eae5a57d7dccc904db17da)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogobject-introspection: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 14:04:36 +0000 (15:04 +0100)]
gobject-introspection: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 38284f890bbed3c3f24044bbae8c25da604ca187)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogconf: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 13:58:51 +0000 (14:58 +0100)]
gconf: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 1e965334b5bc6642290aa31d30575e66eb8db870)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0: cleanup thanks to new gtk-doc.bbclass
Ross Burton [Thu, 19 Jul 2012 11:27:45 +0000 (12:27 +0100)]
glib-2.0: cleanup thanks to new gtk-doc.bbclass

(From OE-Core rev: 8ef2d4f78982a664c5363d0fe17eb69487a5fa12)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochange gtk-doc.bbclass to pull in depends and oeconf
Ross Burton [Thu, 19 Jul 2012 14:04:06 +0000 (15:04 +0100)]
change gtk-doc.bbclass to pull in depends and oeconf

(From OE-Core rev: 28dacc5a83ccf74f8f4895adb471af703d02259a)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd gtk-doc-stub
Ross Burton [Wed, 18 Jul 2012 15:58:51 +0000 (16:58 +0100)]
Add gtk-doc-stub

This is a maintained stub for gtk-doc (and gobject-introspection) that was
created by Colin Walters for his Poky-powered ostree project.

(From OE-Core rev: dd5d1104fde0418c18f9b18ab23837bf23e5b45b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub-efi-native: remove help2man dependency
Radu Moisan [Fri, 20 Jul 2012 11:33:38 +0000 (14:33 +0300)]
grub-efi-native: remove help2man dependency

As suggested in 70067f082af279b58247467ec29283b310a1575e we do not
need this dependency.

[YOCTO #2527]

(From OE-Core rev: ef637e417ae1c2dff7fc0ad6cb30989e72ac35ab)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity: display the parsed BBPATH when complaining about CWD elements
Ross Burton [Thu, 19 Jul 2012 16:15:34 +0000 (17:15 +0100)]
sanity: display the parsed BBPATH when complaining about CWD elements

Many people don't understand the nuances of PATH/BBPATH, so help them by clarifying
the warning and displaying the parsed list element-by-element.

(From OE-Core rev: 6f7be2498134402b5e0f766df5c57e1f496d0d06)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: bump PR
Ross Burton [Thu, 19 Jul 2012 16:17:46 +0000 (17:17 +0100)]
webkit-gtk: bump PR

Accidently ommitted the PR bump from the previous patches, which change the
build.

(From OE-Core rev: 294b34416921ed6ff5dd800656b44552561beb09)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopuzzles, mkelfimage: Use svn protocol instead of http
Khem Raj [Fri, 20 Jul 2012 05:23:00 +0000 (22:23 -0700)]
puzzles, mkelfimage: Use svn protocol instead of http

These repos are not setup to serve through http protocol

(From OE-Core rev: add617cbeac9fcf4621cca45a0800c5ab6239c5a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Add missing target package dependencies
Khem Raj [Fri, 20 Jul 2012 05:22:59 +0000 (22:22 -0700)]
binutils: Add missing target package dependencies

e.g. libfl from flex is needed for target
binutils to link otherwise it can fail to build

(From OE-Core rev: 627725700ee9e2ca39a19f19a77cd772cd8ecf9f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreaterepo 0.4.11: fix the RDEPENDS
Robert Yang [Fri, 20 Jul 2012 09:49:17 +0000 (17:49 +0800)]
createrepo 0.4.11: fix the RDEPENDS

The libxml2-native and rpm-native should be ready before createrepo
runs since it needs "import libxml2 rpm".

The target createrepo needs libxml2-python when run, but the libxml2
doesn't generate the python module (disabled). We may need to fix it
or rename the recipe to createrepo-native_0.4.11.bb.

This recipe is only for the rpm backend system.

[YOCTO #2753]

(From OE-Core rev: 77f4cc3ccb1aff467004e63cf80320534e02c01b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_rpm: DEPLOY_DIR_RPM must exist before make index
Robert Yang [Fri, 20 Jul 2012 09:49:16 +0000 (17:49 +0800)]
package_rpm: DEPLOY_DIR_RPM must exist before make index

There is a package-index.bb which will update the index, but the
DEPLOY_DIR_RPM may not exist, for example, when "bitbake package-index"
in a fresh build.

Only the package_rpm.bbclass needs this, the package_ipk.bbclass and
package_deb.bbclass doesn't need.

[YOCTO #2753]

(From OE-Core rev: 72e18bb4171698a386b277b12d973e3d0fd7c4cc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: register reset u-a to bindir like busybox does
Martin Jansa [Fri, 20 Jul 2012 10:49:03 +0000 (12:49 +0200)]
util-linux: register reset u-a to bindir like busybox does

* fixes http://lists.linuxtogo.org/pipermail/openembedded-core/2012-June/024586.html

(From OE-Core rev: 05085b2aac7ac2789e3382cfad339474a5d6f0c6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoEFI: Make installer EFI aware
Darren Hart [Wed, 4 Jul 2012 04:05:46 +0000 (21:05 -0700)]
EFI: Make installer EFI aware

[YOCTO #1919]

Create a basic EFI installer script modeled after the existing installer
and add it to a new initramfs-live-install-efi recipe. Update the
init-live.sh script to distinguish between LABEL=install and
LABEL=install-efi and select the appropriate script. Add the efi
installer to core-image-minimal-initramfs.

Update grub-efi.bbclass to use "LABEL=install-efi" when it detects a
label of "install". This is clearly not ideal, but a proper fix would
involve decoupling the LABELS assignment from the image-live.bbclass
usage of SYSLINUX_LABELS. We should be able to address that in a
follow-on clean-up series.

V2: Include missing initramfs-live-install-efi_1.0.bb
V3: Rebase after Radu's console_params fix

(From OE-Core rev: 4bce3417917a3e88ba6529db394525fba82e0699)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: fix error stating the root device
Jesse Zhang [Wed, 18 Jul 2012 09:25:49 +0000 (17:25 +0800)]
grub: fix error stating the root device

grub-mkconfig (and possibly other commands) complains:
    error: cannot stat /dev/root

Backport an upstream patch to fix the error.

[YOCTO #2777]

(From OE-Core rev: 5b7da937cd298abd6f8f0eecfede2810b157179f)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrub: fix grub-mkconfig_lib install dir
Jesse Zhang [Wed, 18 Jul 2012 09:25:48 +0000 (17:25 +0800)]
grub: fix grub-mkconfig_lib install dir

The current fix_for_automake patch is not complete. It fixes the install
dir of grub-mkconfig_lib but neglects to update its references in
grub-mkconfig and the grub.d/* scripts. grub-mkconfig would complain:

    # grub-mkconfig
    /usr/sbin/grub-mkconfig: line 98: /usr/lib/grub/grub-mkconfig_lib: No such file or directory

Backport upstream patch to fix all the references.

[YOCTO #2777]

(From OE-Core rev: 72a582874704838ddd19700bf7c300d7a7faaf9f)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: busybox wget -P option ignored
Amy Fong [Tue, 17 Jul 2012 14:30:34 +0000 (10:30 -0400)]
busybox: busybox wget -P option ignored

busybox wget testing fails

In cases where busybox wget is invoked with -P <...> and the url ends
in "/", the download directory is ignored (ie the file index.html is
implied), this change enables the -P option for those urls.

(From OE-Core rev: 95fd02de0aee0a1907b51f9ccda260d483e6e292)

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus-glib: add support for install regression tests
Yao Zhao [Tue, 17 Jul 2012 20:46:30 +0000 (16:46 -0400)]
dbus-glib: add support for install regression tests

dbus-glib.inc: default turn off unit test as libdbus-glib-1.so.2.2.2 will
have unit test code if DBUS_BUILD_TESTS enabled. User can turn it on with
PACKAGECONFIG_pn-dbus-glib = "tests" in local.conf or
PACKAGECONFIG ??= "tests" in recipe itself.

test-install-makefile.patch: install unit tests for test purpose

Add tests and tests-dbg package.

(From OE-Core rev: 9acc464905f8106c2828e1b7bb6ce9f9be810302)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodbus-glib: fix compile error when enable-tests
Yao Zhao [Tue, 17 Jul 2012 20:10:05 +0000 (16:10 -0400)]
dbus-glib: fix compile error when enable-tests

test-service-glib-include-glib-only.patch: fixes the compiling failure
that test-service-glib.c includes glib/gquark.h not glib.h directly.

[YOCTO #2762]

(From OE-Core rev: aefa55f3553f00753d1eb95905086bc12bc5bfaa)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowpa-supplicant: upgrade to 1.0
Cristian Iorga [Wed, 18 Jul 2012 12:36:28 +0000 (15:36 +0300)]
wpa-supplicant: upgrade to 1.0

README file is changed.
Some phrases were reformulated, but the semanthics are the same.
Copyright has been renewed.
Both licenses (GPL v2 and BSD) have been added explicitly.

wpa_supplicant.c is changed regarding licenses body.
Copyright has been renewed.

(From OE-Core rev: 3c02800716aafbc12b15b3dbb3bad0dc3b942cc1)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibcanberra: upgrade to 0.29
Cristian Iorga [Tue, 17 Jul 2012 08:28:55 +0000 (11:28 +0300)]
libcanberra: upgrade to 0.29

(From OE-Core rev: c7fcc04102a78d7ae0add29100c980282aea91d7)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopulseaudio: upgrade to 2.0
Cristian Iorga [Tue, 17 Jul 2012 08:28:55 +0000 (11:28 +0300)]
pulseaudio: upgrade to 2.0

(From OE-Core rev: eeaf48b802c52c445cafcf1419cb32c3c44ec17b)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: fix crashes on startup on PPC/MIPS
Ross Burton [Tue, 17 Jul 2012 16:09:12 +0000 (16:09 +0000)]
connman: fix crashes on startup on PPC/MIPS

It appears that when there is no existing connman state there is memory
corruption which causes free() on MIPS/PPC to abort.

(From OE-Core rev: 4d79eb246d2d3aa9939882ae551db29b537a13df)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Add patches to fix connman on fs with no d_type support
Andrei Gherzan [Tue, 17 Jul 2012 13:39:26 +0000 (13:39 +0000)]
connman: Add patches to fix connman on fs with no d_type support

When there is not d_type avalaible on filesystem, fstatat (stat)
can be used to check if the path is a directory.
storage.c and timezone.c were modified accordingly.

(From OE-Core rev: 09203299c666791ce35d5a897fd1aa2b0d281dd6)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman.inc: Add missing dependencies needed by some tests
Andrei Gherzan [Thu, 12 Jul 2012 17:47:19 +0000 (17:47 +0000)]
connman.inc: Add missing dependencies needed by some tests

Some tests need:
* gobject and optparse module (ex: test-session)
* subprocess and fnctl module (ex: backtrace)
* urllib module (ex: get-proxy-autoconfig)

(From OE-Core rev: 59f4d7537f7662ed82238f0be2626a1940789433)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman: Update to version 1.3
Andrei Gherzan [Thu, 12 Jul 2012 17:46:06 +0000 (17:46 +0000)]
connman: Update to version 1.3

(From OE-Core rev: 016207845450fc4e508557efafb0d4a7650be784)

Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiproute2: upgrade to 3.4.0
Cristian Iorga [Tue, 17 Jul 2012 08:28:54 +0000 (11:28 +0300)]
iproute2: upgrade to 3.4.0

(From OE-Core rev: b17087c84460f5bddb213cec13e83814f64d1f61)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd console kernel options
Radu Moisan [Thu, 19 Jul 2012 11:59:52 +0000 (14:59 +0300)]
Add console kernel options

Live image installer did not preserve BSP specified console= kernel parameter.
This patch updates the init scripts that are responsible for grub.cfg creation
so that options like console= are passed allong from installer to installed img

[YOCTO #2426]

(From OE-Core rev: e18c59eb5a61f265b9cad6de68359fa1430b0e58)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoMultilib build fixes
Bogdan Marinescu [Thu, 19 Jul 2012 12:00:13 +0000 (15:00 +0300)]
Multilib build fixes

1. STAGING_KERNEL_DIR was getting an invalid MLPREFIX. Fix this by forcing the expansion in multilib.conf.
2. Added multilib rule for 'perf'.

(From OE-Core rev: 71907775f601f0a48b995cc3277b61645d2e5068)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeggdbus: remove, nothing uses it
Ross Burton [Thu, 19 Jul 2012 12:05:09 +0000 (13:05 +0100)]
eggdbus: remove, nothing uses it

(From OE-Core rev: 7eae2aecaddf5e285fbe9ad95d972f83b42ed176)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: remove dbus-glib and eggdbus dependencies, polkit uses gio for DBus
Ross Burton [Thu, 19 Jul 2012 12:05:08 +0000 (13:05 +0100)]
polkit: remove dbus-glib and eggdbus dependencies, polkit uses gio for DBus

(From OE-Core rev: 466e108fcefe0d8d3aab2d7a4cee328d85eb1128)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgnome-keyring: remove eggdbus dependency, it has an in-tree copy
Ross Burton [Thu, 19 Jul 2012 12:05:07 +0000 (13:05 +0100)]
libgnome-keyring: remove eggdbus dependency, it has an in-tree copy

(From OE-Core rev: dfeb4ad44e7a7b62b9d054c73e0bacdf37b97c4b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Also don't bother staging locale files, its pointless
Richard Purdie [Thu, 19 Jul 2012 13:18:03 +0000 (13:18 +0000)]
staging.bbclass: Also don't bother staging locale files, its pointless

(From OE-Core rev: 782ce542a8250133cf1b1bc32927c17cd09cfca3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi-ui: Remove the locale files and rely on the main avahi package for these
Richard Purdie [Thu, 19 Jul 2012 13:16:27 +0000 (13:16 +0000)]
avahi-ui: Remove the locale files and rely on the main avahi package for these

Both avahi and avahi-ui were installing locale files. This is pointless duplication
and they are identical between the two packages. This changes things so they're only
handled by the main package.

(From OE-Core rev: a4f31439a6a5c7e1766eff6a6e54ab87f3370c29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-package.inc: Remove duplicate locale install
Richard Purdie [Thu, 19 Jul 2012 13:14:20 +0000 (13:14 +0000)]
eglibc-package.inc: Remove duplicate locale install

Both eglibc-locale and eglibc were installing locale files into the sysroot.
Whilst this is in general harmless, its a waste of diskspace/time so this
moves the responsibility to the eglibc-locale package.

No PR bump this this is really a cleanup and doesn't affect build output,
the sstate size reduction will happen next time it is rebuilt.

(From OE-Core rev: e9bf694b635baab9238088fbeb5d2d67e9190ccd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Ensure the task starts from a clean directory
Richard Purdie [Thu, 19 Jul 2012 13:11:54 +0000 (13:11 +0000)]
staging.bbclass: Ensure the task starts from a clean directory

I found that some files were not getting removed from the sysroot, despite them
clearly being removed by the recipe. I found SYSROOT_DESTDIR is only ever copied
into, not cleaned. This patch ensures its empty when the task starts so that
stale files are removed and not persisted.

(From OE-Core rev: 8a313f6d32ae0bdac0393887712b09f1b685aaa5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostaging.bbclass: Don't stage doc/manpage/info files
Richard Purdie [Thu, 19 Jul 2012 13:09:59 +0000 (13:09 +0000)]
staging.bbclass: Don't stage doc/manpage/info files

There is no point in having doc, manpage or info files in the staging directory. They
just bloat the sstate package size and waste time as they're copied around.

We never used to stage these but it crept in when we started staging $datadir. This
patch corrects that so they're removed and stop making it into the sysroot.

(From OE-Core rev: ec4fea852bde2294ad7a7a703ccf11eb9a109c31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-utils: UPdate to version with python 2.6 fix
Richard Purdie [Thu, 19 Jul 2012 15:57:00 +0000 (16:57 +0100)]
opkg-utils: UPdate to version with python 2.6 fix

(From OE-Core rev: 3448537043ca96794f3b1b4ce3a6eb775c98124c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory.bbclass: Fix python whitespace
Richard Purdie [Thu, 19 Jul 2012 11:32:20 +0000 (11:32 +0000)]
buildhistory.bbclass: Fix python whitespace

(From OE-Core rev: 51d402fa0ec9e4adf10c3dac2a69a385ee720fa1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk.bbclass: Fix python whitespace
Richard Purdie [Thu, 19 Jul 2012 11:23:23 +0000 (11:23 +0000)]
package_ipk.bbclass: Fix python whitespace

(From OE-Core rev: 8a6c2278377edd63af54a469f0fb2b23f90e056b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRemove a number of unneeded import os/bb calls
Richard Purdie [Wed, 18 Jul 2012 13:08:48 +0000 (13:08 +0000)]
Remove a number of unneeded import os/bb calls

The bb and os modules are always imported so having these extra import calls
are a waste of space/execution time. They also set a bad example for people
copy and pasting code so clean them up.

(From OE-Core rev: 7d674820958be3a7051ea619effe1a6061d9cbe2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotoolchain-scripts: Remove extra - from ar/nm command names
Richard Purdie [Thu, 19 Jul 2012 10:42:07 +0000 (11:42 +0100)]
toolchain-scripts: Remove extra - from ar/nm command names

TARGET_PREFIX already has the dash included.

(From OE-Core rev: ca30b6587841f5e9a42aaedb8e0b89ff5a4a6a37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRemove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will...
Martin Ertsaas [Thu, 19 Jul 2012 10:00:51 +0000 (12:00 +0200)]
Remove the - between ${TARGET_PREFIX} and ar/nm for the env script, as this will make autotools look for arm-none-linux-gnueabi--ar instead of arm-none-linux-gnueabi-ar.

(From OE-Core rev: 6434fc102e73ed81d2092e4c4ba5f9fb806545c8)

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: Update version to 1.15.3
Richard Purdie [Thu, 19 Jul 2012 08:54:13 +0000 (09:54 +0100)]
bitbake: Update version to 1.15.3

(Bitbake rev: befbb5c9428eaf98b2ff9c4b36b0b3f2dce7fe07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake: bitbake: Warn upon finding tab indentation in python functions
Richard Purdie [Wed, 18 Jul 2012 11:35:11 +0000 (11:35 +0000)]
bitbake: bitbake: Warn upon finding tab indentation in python functions

Mixed spacing in python functions can cause subtle issues and
generally confuses users. We've standardised on 4 space indentation,
adding this warning helps ensure consistency and avoid bugs. It
also makes _prepend and _append operations on python functions slightly
less risky.

(Bitbake rev: c51cfaf48d3b12a19b01e824b6ba4230376bcad4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.conf: Increase bitbake minimum version to 1.15.3
Richard Purdie [Thu, 19 Jul 2012 09:23:51 +0000 (10:23 +0100)]
sanity.conf: Increase bitbake minimum version to 1.15.3

(From OE-Core rev: c8937438a7b5d2aec4ae0318f5680f3a43979259)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoConvert tab indentation in python functions into four-space
Richard Purdie [Wed, 11 Jul 2012 17:33:43 +0000 (17:33 +0000)]
Convert tab indentation in python functions into four-space

(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoboot-directdisk: Fix kernel location after STAGING_KERNEL_DIR change
Richard Purdie [Wed, 18 Jul 2012 21:48:58 +0000 (22:48 +0100)]
boot-directdisk: Fix kernel location after STAGING_KERNEL_DIR change

This catches up with the STAGING_KERNEL_DIR location change
and uses the correct variable to future proof this issue.

[YOCTO #2783]

(From OE-Core rev: 28715eff6dff3415b1d7b0be8cbb465c417e307f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl: fix tcl INCLUDE_SPEC and LIB_SPEC
Yao Zhao [Wed, 18 Jul 2012 16:42:35 +0000 (12:42 -0400)]
tcl: fix tcl INCLUDE_SPEC and LIB_SPEC

TCL_INCLUDE_SPEC -I/usr/include will cause problems cross configure/compile
TCL_LIB_SPEC -L${libdir} will cause problems too when link.

(From OE-Core rev: d454f8055b21c4d01dd1e2faf1625e2a1e5c25f2)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agonasm: nasm has a build dependency on groff-native
Amy Fong [Wed, 18 Jul 2012 17:39:22 +0000 (13:39 -0400)]
nasm: nasm has a build dependency on groff-native

nasm has a build dependency on groff-native

In one incident, there was a case where nasm-native compile phase failed
with the following:

      +troff: can't find `DESC' file
      +troff: fatal error: sorry, I can't continue

During this, groff-native was in the sysroot install phase.
To remedy this, adding groff-native in nasm's dependency list.

(From OE-Core rev: cd108a55ea58501e91923f348edca9ba736933c7)

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: remove 904-flatten-switch-stmt-00.patch
Bernhard Reutner-Fischer [Wed, 18 Jul 2012 18:19:08 +0000 (20:19 +0200)]
gcc: remove 904-flatten-switch-stmt-00.patch

Remove brute-force flattening and bump PR.
Refer to -ftree-switch-conversion emit_case_bit_tests(),
-ftree-if-to-switch-conversion et al in 4.8

(From OE-Core rev: 2eb0e56217137ece3d86a70676a3f3c8db525459)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Define USRBINPATH globally instead of individually
Richard Purdie [Wed, 18 Jul 2012 17:38:05 +0000 (17:38 +0000)]
bitbake.conf: Define USRBINPATH globally instead of individually

Many recipes are now having to define PERLPATH and PYTHONPATH variables.
Creating USRBINPATH in bitbake.conf means we can remove all these lines
from the many recipes now needing this and simplify the code changes
needed in each case, reducing the chance of errors being introduced.

Also fixup glib python binary location issue and fix function indentation.

(From OE-Core rev: cf63d9068c3a8c635dfc240d30dfff278be9b0e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-nativesdk: fix the build failure that linux/kvm.h not found
Yao Zhao [Wed, 18 Jul 2012 00:44:46 +0000 (20:44 -0400)]
qemu-nativesdk: fix the build failure that linux/kvm.h not found

qemu.inc: on older kernel build hosts that have < 2.6.20 which
doesn't support kvm yet, build will fail. Add a check in do_configure
to make sure whether linux/kvm.h exists for nativesdk build.

(From OE-Core rev: 7d49af3a811472a2a47453bef0813b89c6331ae7)

Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity: display the parsed PATH when complaining about CWD elements
Ross Burton [Wed, 18 Jul 2012 13:42:30 +0000 (14:42 +0100)]
sanity: display the parsed PATH when complaining about CWD elements

Many people don't understand the nuances of PATH, so help them by clarifying
the warning and displaying the parsed PATH element-by-element.

(From OE-Core rev: 47e6ab41f0f84e6bed7d337ebf96c954ec6909e8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: package ld.gold symlink
Martin Jansa [Wed, 18 Jul 2012 11:04:32 +0000 (13:04 +0200)]
binutils: package ld.gold symlink

* fixes:
  NOTE: package binutils-2.22-r11: task do_package: Started
  WARNING: QA Issue: binutils: Files/directories were installed but not shipped
    /usr/bin/ld.gold
  NOTE: package binutils-2.22-r11: task do_package: Succeeded

(From OE-Core rev: b01b958007b2c09e68a839415440972e08275702)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowatchdog: fix ping mode failure
Roy.Li [Wed, 18 Jul 2012 01:41:43 +0000 (09:41 +0800)]
watchdog: fix ping mode failure

[YOCTO #2755]

When watchdog works on ping mode, the system will be rebooted since
watchdog can not receive the expected ECOREPLY on a setting interval.

Ping mode uses a raw socket to send a ECO packet, then uses select()
to wait and recvfrom() to receive the ECOREPLY packet, if select()
shows the data is ready, and the data is not the expected ECOREPLY,
and waiting time is not overdue, it will continue use select() and
recvfrom().

Problem is that the raw socket can receive any icmp packets, if we do
not set filters, and there are many icmp packets on socket, this
program will not find its interested ECOREPLY packet in a special
interval, which makes the ping mode fail.

Other program is that watchdog sometime can not reach the call of
recvfrom to try to receive packets since tv_sec of struct timeval
of select parameter is 0.

The timeout of select() is the result of ping interval minusing the
time of calling gettimeofday spending, when ping interval is 1 second,
and the call of gettimeofday() spends several useconds, the tv_sec of
struct timeval of select parameter must be 0, at that condition, we
should think it is valid of tv_sec of struct timeval of select parameter
be 0

(From OE-Core rev: 90f3a90413aa1e08c3206b838dcaee0c1c640dc7)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Add git-native to ASSUME_PROVIDED
Richard Purdie [Tue, 10 Jul 2012 13:26:18 +0000 (13:26 +0000)]
bitbake.conf: Add git-native to ASSUME_PROVIDED

Originally, git was something new, not installed everywhere and had commandline
stability problems. This has changed and git it no longer makes sense to
continually build this when the system installed version is likely sufficient.

This speeds up build since recipes no longer have to wait for git-native to build
if they're fetched from a git:// SRC_URI.

Also add git to the sanity checks and drop the no unneeded svn reference.

(From OE-Core rev: 79e24186481770181565a18d177584d0d72399fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Fix build for e500 cores
Khem Raj [Wed, 18 Jul 2012 06:39:40 +0000 (23:39 -0700)]
eglibc: Fix build for e500 cores

e500 support needed to be updared to match eglibc 2.16

(From OE-Core rev: ae9748c614dc8e56cde3de2401c922607ed97620)

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>
12 years agoslang: add header to patch
Roy.Li [Wed, 18 Jul 2012 02:15:56 +0000 (10:15 +0800)]
slang: add header to patch

Add description, Signed-off-by and Upstream-Status to
change-char-type-to-signed-char-in-macros.patch

(From OE-Core rev: 25745cf72056efc2250e8fdd99d6f30384472694)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofix my typos in patch headers
Nitin A Kamble [Tue, 17 Jul 2012 04:52:49 +0000 (21:52 -0700)]
fix my typos in patch headers

(From OE-Core rev: 2a686494119ced9c1eca45b229aa8746dc8a143f)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopuzzles, mkelfimage: Add protocol=http
Saul Wold [Wed, 18 Jul 2012 04:38:49 +0000 (21:38 -0700)]
puzzles, mkelfimage: Add protocol=http

This would fail in some firewall situations otherwise

(From OE-Core rev: 4c1a768238fe9a36b7ed714c9c40951b7357410a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowebkit-gtk: remove spurious install_prepend hack
Ross Burton [Tue, 17 Jul 2012 18:44:20 +0000 (19:44 +0100)]
webkit-gtk: remove spurious install_prepend hack

This "fix" causes an (ignored) error now, so at some point it was fixed.

(From OE-Core rev: 03690060fe13e083723a572ec0438a1381e418db)

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>
12 years agowebkit-gtk: remove no-parallel bodge
Ross Burton [Tue, 17 Jul 2012 18:44:19 +0000 (19:44 +0100)]
webkit-gtk: remove no-parallel bodge

This workaround was originally for GNU Make 3.82 which upstream was blaming
for a parallel build failure.  Since then I've changed numerous variables
and now parallel builds are working with 3.82 (and succeed in 20 minutes
instead of 2 hours).

Revert the change until we've more data about what causes the breakage, then
we can bring it back with more finesse.

(From OE-Core rev: 90ca88a6f9dd5e2bc055739f84cb224f9a82455a)

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>
12 years agoscripts/bitbake: Check the git-native version and build it if necessary
Richard Purdie [Tue, 17 Jul 2012 11:59:28 +0000 (12:59 +0100)]
scripts/bitbake: Check the git-native version and build it if necessary

We require git version 1.7.5 or later for the git remote --mirror=xxx syntax.
If we have an older version of git, this patch ensure we build git-replacement-native.
We add an alternative PROVIDES in the same way as tar-native to allow this script
to trigger the build whilst still allowing git-native in ASSUME_PROVIDED.

(From OE-Core rev: 269f3b3cfacaf229d5e45177ee01b16561370ee3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorecipes: svn SRC_URI s/proto=/protocol=/g
Martin Jansa [Tue, 17 Jul 2012 09:52:22 +0000 (11:52 +0200)]
recipes: svn SRC_URI s/proto=/protocol=/g

(From OE-Core rev: 11711d5d040e6456ac43f8800b535fe5946144cf)

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>