scm/bb/tizen-distro.git
11 years agovalgrind: update to 3.8.1
Radu Moisan [Tue, 22 Jan 2013 15:29:15 +0000 (17:29 +0200)]
valgrind: update to 3.8.1

Changed license copyright notice 2011->2012
remove unnecessary patches
built for x86, 86-64, ppc

(From OE-Core rev: df0d23c2bedafd534c5909a65afaf3373d7bc33e)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibaio: add aarch64 support
Riku Voipio [Mon, 21 Jan 2013 09:50:03 +0000 (11:50 +0200)]
libaio: add aarch64 support

Picking up a patch from gentoo and adding aarch64 defines
is enough to fix libaio and pass the harness testsuite

(From OE-Core rev: 7255c43b6e545a4c15c3cd57f6c240668a77786a)

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agomtd-utils: split into multiple packages
Frans Meulenbroeks [Mon, 21 Jan 2013 11:17:07 +0000 (12:17 +0100)]
mtd-utils: split into multiple packages

This allows one not to install rarely used or fs specific files
As discussed in http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/31744/focus=31804

(From OE-Core rev: ca9d10543f22b60ba32fd78130970591782b880c)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoalsa-utils: upgrade to 1.0.26
Cristian Iorga [Mon, 21 Jan 2013 09:19:59 +0000 (11:19 +0200)]
alsa-utils: upgrade to 1.0.26

ncursesfix.patch is no longer necessary,
build system fixed upstream.
ncursesfix.patch removed.

(From OE-Core rev: 1dccd16e29186e7baad6ebcf189b7ea2463c2275)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoxorg-minimal-fonts: depend on font-alias instead of shipping fonts.alias
Marcin Juszkiewicz [Sun, 20 Jan 2013 21:17:28 +0000 (22:17 +0100)]
xorg-minimal-fonts: depend on font-alias instead of shipping fonts.alias

| Collected errors:
|  * check_data_file_clashes: Package font-alias wants to install file /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/genericarmv8-oe-linux/core-image-lsb-dev/1.0-r0/rootfs/usr/share/fonts/X11/misc/fonts.alias
|       But that file is already provided by package  * xorg-minimal-fonts
|  * opkg_install_cmd: Cannot install package packagegroup-core-lsb-dev.
| ERROR: Function failed: do_rootfs (see /home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/genericarmv8-oe-linux/core-image-lsb-dev/1.0-r0/temp/log.do_rootfs.7564 for further information)

(From OE-Core rev: e3d5cb2033245ecb6e25f90d9d71296a018c4342)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk-immodules-cache.bbclass:fix support postrm at image creation time
Hongxu Jia [Thu, 17 Jan 2013 12:56:40 +0000 (20:56 +0800)]
gtk-immodules-cache.bbclass:fix support postrm at image creation time

Let postrm use the same logic as the postinst to run on both build machine
and target

[YOCTO #3633]

(From OE-Core rev: dc1bb7a5532411bc9cb7e8678bc540c44fd2cd63)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk-icon-cache.bbclass:fix support postrm at image creation time
Hongxu Jia [Thu, 17 Jan 2013 12:56:37 +0000 (20:56 +0800)]
gtk-icon-cache.bbclass:fix support postrm at image creation time

When use postrm on the build machine, it installs the hook in intercept-scripts
directory and exit 0, the hook will be later invoked and it will properly call
gtk-update-icon-cache.

[YOCTO #3633]

(From OE-Core rev: 6ae0b8339134300d0c179bd47dc3062e0e1f2f0b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense.bbclass: package license texts to PN-lic when LICENSE_CREATE_PACKAGE is enabled
Martin Jansa [Thu, 17 Jan 2013 11:49:44 +0000 (12:49 +0100)]
license.bbclass: package license texts to PN-lic when LICENSE_CREATE_PACKAGE is enabled

[YOCTO #3743]

(From OE-Core rev: dc78ef91a2bf01efb8028c9afbe69e506e016265)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolicense.bbclass: extract functionality to find license files to separate function
Martin Jansa [Thu, 17 Jan 2013 11:49:43 +0000 (12:49 +0100)]
license.bbclass: extract functionality to find license files to separate function

* move it from do_populate_lic to find_license_files so we can reuse it
  to populate license in package itself

[YOCTO #3743]

(From OE-Core rev: 833f8c239aa475b3e0cacbd448a90079ac287468)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogettext: Fix build with uclibc remove upstreamed patches
Khem Raj [Thu, 24 Jan 2013 21:07:23 +0000 (13:07 -0800)]
gettext: Fix build with uclibc remove upstreamed patches

uclibc specific patches are not needed now as they are
available in 0.18.2 gettext now

(From OE-Core rev: ab692ed618f83df2ce452769165314e70b867345)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc: fix evacuate_scripts for external toolchains
Marcin Juszkiewicz [Fri, 25 Jan 2013 14:42:26 +0000 (15:42 +0100)]
eglibc: fix evacuate_scripts for external toolchains

Not every external toolchain has mtrace/sotruss/xtrace scripts so check
their existance first.

(From OE-Core rev: 06ea50973a4446053d1ecac5b8e4cf425c8df5b1)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc-scripts: don't package mtrace, RDEPEND on eglibc-mtrace instead, fix RDEPENDS
Martin Jansa [Fri, 25 Jan 2013 19:42:52 +0000 (20:42 +0100)]
eglibc-scripts: don't package mtrace, RDEPEND on eglibc-mtrace instead, fix RDEPENDS

* eglibc-mtrace and eglibc-scripts provide the same mtrace script
* remove mtrace from eglibc-scripts and replace it with RDEPENDS
* mtrace also needs perl (eglibc-mtrace has correct RDEPENDS), bash is
  for sotruss and xtrace
* remove invalid RDEPENDS_ldd, ldd is now using /bin/sh and is not
  packaged by eglibc-scripts
* fixes error in world-image build:
  * check_data_file_clashes: Package eglibc-mtrace wants to install file
    rootfs/usr/bin/mtrace
    But that file is already provided by package  * eglibc-scripts

(From OE-Core rev: a3599db48576043d7c335aff677471fc1afed8ab)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoeglibc-package: remove infodir/dir if it exists
Martin Jansa [Fri, 25 Jan 2013 19:42:53 +0000 (20:42 +0100)]
eglibc-package: remove infodir/dir if it exists

* fixes error in world-image build:
 * check_data_file_clashes: Package eglibc-doc wants to install file
   rootfs/usr/share/info/dir
   But that file is already provided by package  * gcc-doc

(From OE-Core rev: f6e0875e35b9149f38f3bbfab6bd7a26048dd689)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc-configure-runtime: always remove info/dir
Martin Jansa [Fri, 25 Jan 2013 19:42:51 +0000 (20:42 +0100)]
gcc-configure-runtime: always remove info/dir

* move libgomp.info removal also outside that for cycle, can be removed outside if exists
* also use infodir variable instead of ${datadir}/info

(From OE-Core rev: 0b8fe539928c7a61ca01a4a0a0f54df47164ac6c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoautomake: use autotools_do_install
Martin Jansa [Fri, 25 Jan 2013 19:42:50 +0000 (20:42 +0100)]
automake: use autotools_do_install

* autotools_do_install removes /info/dir when it exists, overwritting whole
  do_install prevented that, use do_install_append instead.

(From OE-Core rev: 5c2efbaad15a8430b4a02f3fcffd92578e1bb1a3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agovalgrind: explicitly disable MPI2 support
Paul Eggleton [Fri, 25 Jan 2013 15:17:06 +0000 (15:17 +0000)]
valgrind: explicitly disable MPI2 support

We don't have support for this in OE-Core, so ensure we don't pick this
up from the build host if e.g. openmpi development files happen to be
installed there.

Fixes [YOCTO #3726].

(From OE-Core rev: cc490d76aba0a778409ca1a3d0e1f2c308684c9b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogawk: Add missing dependency on readline
Khem Raj [Thu, 24 Jan 2013 20:18:23 +0000 (12:18 -0800)]
gawk: Add missing dependency on readline

building from shared state often ends up with

|
/b/kraj/angstrom/build/tmp-angstrom_next-uclibc/work/i586-angstrom-linux-uclibc/gawk/4.0.1-r1/gawk-4
.0.1/debug.c:4135: undefined reference to `rl_reset_terminal'
|
/b/kraj/angstrom/build/tmp-angstrom_next-uclibc/work/i586-angstrom-linux-uclibc/gawk/4.0.1-r1/gawk-4
.0.1/debug.c:4138: undefined reference to `rl_get_screen_size'
| debug.o: In function `unserialize':

Adding the missing readline dependency to fix such cases
where readline has not been populated in sysroot via some
other dependency and gawk would then use it or bail out.

(From OE-Core rev: 9a43a67993c21cedf6cf71138e3da9c691ebf4a7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibpcap: Turn canusb support into PACKAGECONFIG
Khem Raj [Thu, 24 Jan 2013 02:29:44 +0000 (18:29 -0800)]
libpcap: Turn canusb support into PACKAGECONFIG

libpcap notices libusb in its configure if its sysrooted
and ignores it if its not. But this causes problems since
there is no explicit dependency on libusb. Rebuild from shared
state sometimes fails when libusb has not been yet populated
in sysroot and libpcap has. And do_configure of consumers of libpcap e.g. tcpdump
are probing for features on libpcap. All the tests fail since
none of link steps succeed and it sees as if libpcap does
not have required features and configure of tcpdump bails out.

turn canusb into PACKAGECONFIG and let it be disabled
by default.

Backport additional patches needed for disable-canusb to work

(From OE-Core rev: a7cfc0ce9885c51ccefcaba001e6672d7b3e36e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibtirpc: Disable DES functions on uclibc
Khem Raj [Thu, 24 Jan 2013 21:07:24 +0000 (13:07 -0800)]
libtirpc: Disable DES functions on uclibc

uclibc does not provide these functions so dont expect them

/usr/lib/libtirpc.so: undefined reference to `key_encryptsession_pk'
/usr/lib/libtirpc.so: undefined reference to `getnetname'
/usr/lib/libtirpc.so: undefined reference to `cbc_crypt'
/usr/lib/libtirpc.so: undefined reference to `ecb_crypt'
/usr/lib/libtirpc.so: undefined reference to `getpublickey'
/usr/lib/libtirpc.so: undefined reference to `key_gendes'

(From OE-Core rev: c66a269f6f68d670ca3bf9e7b22a5dce4bb95cd0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agotcmode-default.inc: Switch to git version of uclibc by default
Khem Raj [Thu, 24 Jan 2013 21:07:29 +0000 (13:07 -0800)]
tcmode-default.inc: Switch to git version of uclibc by default

systemd related functionality is tested in latest git of uclibc
therefore lets use it as default provider for uclibc as its the
most tested version on master

(From OE-Core rev: db93f49c676f84d6d5ad54a9f1ed9be7ba6d5364)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouclibc-git/uClibc.distro: Enable UCLIBC_HAS_REENTRANT_RPC
Khem Raj [Thu, 24 Jan 2013 21:07:28 +0000 (13:07 -0800)]
uclibc-git/uClibc.distro: Enable UCLIBC_HAS_REENTRANT_RPC

The renterant functions are needed by quota

(From OE-Core rev: 406aaccfd115ef189e4372f581bf19e5b0906a15)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agowpa-supplicant: upgrade to 2.0
Constantin Musca [Thu, 24 Jan 2013 16:07:24 +0000 (18:07 +0200)]
wpa-supplicant: upgrade to 2.0

- as of February 11, 2012, the project has chosen to use only
the BSD license option for future distribution
- wpa-supplicant-1.0 dir was not version specific,
as such it is generic now

(From OE-Core rev: 0f83cb8ca629fbf1af448781f28912bbc75e0d80)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: remove usbutils dependancy
Jack Mitchell [Thu, 24 Jan 2013 12:37:25 +0000 (12:37 +0000)]
systemd: remove usbutils dependancy

V2:

Dependancy was removed in version 196 according to following systemd commit.

http://cgit.freedesktop.org/systemd/systemd/commit/configure.ac?id=796b06c21b62d13c9021e2fbd9c58a5c6edb2764

V1:

No where in the systemd readme does it specify that usbutils
is a dependancy of systemd. I can only guess that it was added
due to an issue elsewhere in the chain or it was brought in
when udev was merged and the dependancies never checked.

I have build tested this with no issues.

(From OE-Core rev: 251627cdfc5a9aa69e469f3c9072264fd0bda73b)

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoyocto-bsp: qualify user files with machine name
Brian A. Lloyd [Thu, 24 Jan 2013 20:57:38 +0000 (14:57 -0600)]
yocto-bsp: qualify user files with machine name

The bblayer abstraction makes it where multiple layers can be
configured and used at the same time.  Some layers make changes to
support a specific machine, and should not have any affect when other
machines are in use.

For linux-yocto, all bsps are created with a user-config.cfg and
user-config.cfg and user-patches.scc.  This means that those files
will be pulled from the first location found, which might correspond
to files customized for a different machine.

Instead of using the names user-config.cfg and user-patches.scc, I
propose a machine specific name be used such as
{{=machine}}user-patches.scc and {{=machine}}user-config.cfg.  This
would necessitate that all references changed to these new names,
which would affect the yocto-bsp and yocto-kernel scripts.

With this change, it would be possible to have multiple machine BSPs
searched at the same time and to select which to build against by
using a command like MACHINE=qmeux86 bitbake core-image-sato to
override the default.

Note many of the standard BSPs do not seem to suffer this problem as
they do not use the common files user-config.cfg and user-patches.scc
that the yocto-* scripts depend upon.

Additions by Tom Zanussi:
 - renamed user-config.cfg to {{=machine}}-user-config.cfg everywhere
 - renamed user-patches.scc to {{=machine}}-user-patches.scc everywhere
 - added the user-config/patches SRC_URI items to the qemu -rt kernel recipes
 - fixed conflicts due to the new open_user_file() helper function
 - updated user filename conflicts caused by directory renaming
 - updated custom kernel files to match

Fixes [YOCTO #3731]

(From meta-yocto rev: c20bef60aa8d52971fb061d4b8d473ad19c03180)

Signed-off-by: Brian A. Lloyd <brian.lloyd@familyhonor.net>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoprservice.py: fix NameError: global name 'host' is not defined
Martin Jansa [Fri, 25 Jan 2013 14:00:25 +0000 (15:00 +0100)]
prservice.py: fix NameError: global name 'host' is not defined

* http://git.openembedded.org/openembedded-core/commit/?id=e00f49de8b1f79c3e07b887d257bd75a46052fa0
  removed host and port variables

(From OE-Core rev: 494439c95d33b2ad457cc205413680b0bf176560)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-diffigs: Don't pull in tinfoil unless we really need/plan to use it
Richard Purdie [Fri, 25 Jan 2013 12:54:49 +0000 (12:54 +0000)]
bitbake: bitbake-diffigs: Don't pull in tinfoil unless we really need/plan to use it

This means we can run in parallel with other bitbake processed we're not in
task mode.

(Bitbake rev: 20222f2f16130e91eed5e68286188ee0e8f8f3bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agostaging: Drop obsolete comments
Richard Purdie [Tue, 22 Jan 2013 11:38:19 +0000 (11:38 +0000)]
staging: Drop obsolete comments

(From OE-Core rev: 44a2374dcfd68c8e158e0c901d75dbd7327652a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogit: remove unpackaged perl-native files
Wenzong Fan [Fri, 25 Jan 2013 08:06:56 +0000 (16:06 +0800)]
git: remove unpackaged perl-native files

${libdir} is not applicable for the install path of perl-native files,
files are always installed to /usr/lib no matter the target is 32/64
bits. After installing, remove unpackaged and unneeded perl-native
files to prevent warnings.

Fix warning:
    WARNING: For recipe git, the following files/directories were \
        installed but not shipped in any package:
    ...
    WARNING:   /usr/lib/perl-native/perl/5.14.2/Git.pm
    WARNING:   /usr/lib/perl-native/perl/5.14.2/perllocal.pod
    WARNING:   /usr/lib/perl-native/perl/5.14.2/Error.pm
    WARNING:   /usr/lib/perl-native/perl/5.14.2/auto

[YOCTO#3780]

(From OE-Core rev: cc6b8261fa47a049e501882e9bfc40f61e603b6f)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopuzzles: upgrade to r9751
Constantin Musca [Thu, 24 Jan 2013 08:36:06 +0000 (10:36 +0200)]
puzzles: upgrade to r9751

(From OE-Core rev: cf97241a18284180ff3b8dd880f219d09155bf09)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocairo: upgrade to 1.12.10
Constantin Musca [Thu, 24 Jan 2013 08:36:51 +0000 (10:36 +0200)]
cairo: upgrade to 1.12.10

(From OE-Core rev: 5910cf254635545040df62d9db898abcf17e00d4)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl: update to 5.14.3
Kang Kai [Mon, 21 Jan 2013 08:57:12 +0000 (16:57 +0800)]
perl: update to 5.14.3

There is a securty issue:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5195
Update perl to 5.14.3 to resolve this problem.

Patches hurd-ccflags.diff, h2ph-multiarch.diff, index-tainting.diff and
hurd-hints.diff have been merged, so remove them from SRC_URI.
Update patches config.sh and Makefile.SH.patch with new PV.

[Yocto 3701]

(From OE-Core rev: b1fd25e05308cabb56afe1d4276470bf7380ea59)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl-native: update to 5.14.3:
Kang Kai [Mon, 21 Jan 2013 09:03:21 +0000 (17:03 +0800)]
perl-native: update to 5.14.3:

There is a securty issue:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5195
Update perl to 5.14.3 could resolve this problem. And update perl-native
first.

(From OE-Core rev: 360401af6e7729a373d0a6d13995714aff121064)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agometa: remove all mention of PCMCIA_MANAGER
Ross Burton [Wed, 23 Jan 2013 16:24:15 +0000 (16:24 +0000)]
meta: remove all mention of PCMCIA_MANAGER

Nothing appears to use this anymore, and it's been a very long time since there
was anyone expressing an interest in the alternatives.

(From OE-Core rev: f6f289c13b9da9c2793d1fd30456216db8afad64)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosstate: Add optimisation for useradd injected dependencies
Richard Purdie [Wed, 23 Jan 2013 14:28:31 +0000 (14:28 +0000)]
sstate: Add optimisation for useradd injected dependencies

useradd.bbclass adds sstate dependencies on base-passwd, shadow-native and
shadow-sysroot. Due to the way these are injected, they interact badly with
the other dependency validation logic and end up pulling in dependencies we
don't actually need. This patch adds code to optimise those cases out.

(From OE-Core rev: 784ca68fcca4ffb34390d55d9343570cfdf0305f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoSplit do_packagedata task from do_package
Richard Purdie [Wed, 23 Jan 2013 14:27:33 +0000 (14:27 +0000)]
Split do_packagedata task from do_package

Currently, do_rootfs has a dependency on all the do_package output being present
due to its usage of the pkgdata directories. This means that if you run:

bitbake xxxx-image -c rootfs

you end up having to fetch and unpack all the do_package data which is usually
large and inefficient. It also means rm_work has to leave all the do_package
data lying around so rootfs works.

This patch splits the actual creation of the pkgdata directory off into a separate
task, "packagedata" which happens immediately after do_package. We can then remap
the dependencies so this task is depended upon, not do_package. Sstate can then be
programmed not to require do_package at the appropriate times.

Whilst this patch doesn't do so, it opens the possibility of rm_work wiping
out the do_package output from WORKDIR as long as it also removed the do_package
stamp (both normal and setscene variants) and allowing more space savings
with rm_work which has been regularly requested.

(From OE-Core rev: 6107ee294afde395e39d084c33e8e94013c625a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocairo: use directfb instead of gtk-directfb
Constantin Musca [Fri, 18 Jan 2013 11:48:32 +0000 (13:48 +0200)]
cairo: use directfb instead of gtk-directfb

- we now have directfb as DISTRO_FEATURE
- DirectFB is not supported by gtk versions >= 2.18

(From OE-Core rev: 6223aa118ed7a2726ed73c06246423795d53af5e)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+: remove directfb support
Constantin Musca [Fri, 18 Jan 2013 11:48:31 +0000 (13:48 +0200)]
gtk+: remove directfb support

- DirectFB is not supported by gtk versions >= 2.18

[YOCTO #3642]

(From OE-Core rev: 87dc338bf631577d947a9c172ec5711b9f306530)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore-image-gtk-directfb: rename to core-image-directfb
Constantin Musca [Fri, 18 Jan 2013 11:48:30 +0000 (13:48 +0200)]
core-image-gtk-directfb: rename to core-image-directfb

- DirectFB is not supported by gtk versions >= 2.18
- use packagegroup-core-directfb instead of packagegroup-core-gtk-directfb

[YOCTO #3642]

(From OE-Core rev: f4724b132de09d0c3db3755214ca83bb5acf5550)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-gtk-directfb: rename to packagegroup-core-directfb
Constantin Musca [Fri, 18 Jan 2013 11:48:29 +0000 (13:48 +0200)]
packagegroup-core-gtk-directfb: rename to packagegroup-core-directfb

- DirectFB is not supported by gtk versions >= 2.18
- remove the backwards compatibility statements (packagegroup-core-directfb
is an independent packagegroup)
- remove all gtk dependencies

[YOCTO #3642]

(From OE-Core rev: 423a397b2bf1a32519761ae3f0b048e0595c59e8)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoinit-live.sh: move /media/xxx over to the real root filesystem
Chen Qi [Wed, 23 Jan 2013 06:08:04 +0000 (14:08 +0800)]
init-live.sh: move /media/xxx over to the real root filesystem

Previously, the /media/xxx which contains the root image was not
moved to be under the real root filesystem. Because of this, the
output of the 'mount' command is somewhat confusing, that is, it
has some mount point that is not even in the filesystem.

Besides, on some machine, it caused the recovery procedure when we
booted it next time.

This patches fixes this issue by moving the /media/xxx over to be
under the real root filesystem.

[YOCTO #2064]
[YOCTO #3705]

(From OE-Core rev: 261d21d36298bb7822ee7370c30441f42ef2b093)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoprserv: change PRSERV_HOST semantics
Constantin Musca [Wed, 23 Jan 2013 14:54:28 +0000 (16:54 +0200)]
prserv: change PRSERV_HOST semantics

- remove PRSERV_PORT variable
- use 'hostname:port' as PRSERV_HOST format
- remove USE_PR_SERV variable
- one can activate PRS by setting PRSERV_HOST

[YOCTO #3744]

(From OE-Core rev: e00f49de8b1f79c3e07b887d257bd75a46052fa0)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase.bblass : Add support for cmake to PACKAGECONFIG.
Philip Balister [Tue, 22 Jan 2013 14:57:02 +0000 (09:57 -0500)]
base.bblass : Add support for cmake to PACKAGECONFIG.

The cmake class uses EXTRA_OECMAKE to adjust the cmake configuration. This
patch adds support for this, if the cmake class is used by the recipe.

(From OE-Core rev: d8c0ce5a4a27c8aa1d07fc15d6e000af725a51e6)

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agonfs-utils: Upgrade 1.2.3 -> 1.2.8-rc3
Khem Raj [Tue, 22 Jan 2013 05:04:26 +0000 (21:04 -0800)]
nfs-utils: Upgrade 1.2.3 -> 1.2.8-rc3

Disable nfsv4l since it needs LVM2 which
is not available in OE-Core

Disable nfsdcltrack since its configure time check
for sqlite3 is not cross compiling safe

It can support ipv6 but thats disabled since
we disable libtirpc which is needed for ipv6
support in nfs-utils

Patches imported from fedora to take us to 1.2.8-rc3

(From OE-Core rev: 658bfe4690005d0a68dc4e3ca2bc741ff4c89f28)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogcc: Enable OpenMP compiling and library
MiLo [Mon, 21 Jan 2013 08:46:59 +0000 (09:46 +0100)]
gcc: Enable OpenMP compiling and library

Multicore embedded systems are getting more and more common.

Remove "--disable-openmp" from the GCC configuration options and
always build libgomp. This only creates a "bigger" compiler but
has no effect on the compiled binaries that don't use openmp.

Tested a clean build on mips32el and arm7a, no problems encountered.

Autoconf will not detect OpenMP after this change, because it will
build and run a target binary on the build system. In order to use
OpenMP, the variable ac_cv_prog_c_openmp=-fopenmp must be set.

(From OE-Core rev: fdf37b792c13a1fc3f63faf471f0403396414a35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl-rprovides: Fix perl-module-config anf perl-module-build providers
Richard Purdie [Sat, 19 Jan 2013 23:50:10 +0000 (23:50 +0000)]
perl-rprovides: Fix perl-module-config anf perl-module-build providers

The rearrangement of various file contents left these empty modules which
don't get packaged and hence lead to image creation errors on anything using
them. This patch ensures the dependencies are attached to the packages
which contain the config files or the build module infrastructure as
appropriate. It also resolves some confusion over whether the name is
perl-module-build or perl-module-module-build, the latter being the
autogenerated dependency which previously couldn't be found.

(From OE-Core rev: 442f161ecd498513b72e7f1ca2668325c9389d24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl: Add dyanloader build hack
Richard Purdie [Sat, 19 Jan 2013 23:49:24 +0000 (23:49 +0000)]
perl: Add dyanloader build hack

Patch perl to allow builds to work where a native perl running against target modules
attempts to load a dynamic binary module. We assume that a native version of the
module exists as it would for the target and perform an appropriate path
substitution.

(From OE-Core rev: b5ea12fec329fe419bc3672ed1e1d5733ff2a9d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl-native: Add errno_ver.diff patch to native perl
Richard Purdie [Sat, 19 Jan 2013 23:48:46 +0000 (23:48 +0000)]
perl-native: Add errno_ver.diff patch to native perl

Apply the errno_ver.diff patch to the native perl version. This ensures that when
we're building target modules, running the native perl binary but in a target
configuration we don't see error messages.

libencode-detect-perl is a module which tests this.

(From OE-Core rev: 52354c863a1a2e467ea1b55168bf4273f31bbba4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocpan_build: Fix cmaker Build.PL module builds
Richard Purdie [Sat, 19 Jan 2013 23:48:13 +0000 (23:48 +0000)]
cpan_build: Fix cmaker Build.PL module builds

Certain cpan Build.PL based modules were failing to build due to
the host's config information being used instead of the targets.

This patch sets the appropriate variables to ensure the modules
get the correct configuration from the target config_heavy.pl script.

It also ensures the linker is CCLD, not LD since the LDFLAGS contain
-Wl,XXX options and build failures result if LD is used.

libencode-detect-perl is a module which tests this class extensively.

(From OE-Core rev: 7fac8bffcd250aec90c0b675aeb2bbe7896d0ae1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake-layers: fix get_file_layer
Robert Yang [Fri, 25 Jan 2013 08:35:09 +0000 (16:35 +0800)]
bitbake: bitbake-layers: fix get_file_layer

The get_file_layer can't handle the nested layer correctly, e.g.:

meta-intel/conf/layer.conf
meta-intel/meta-cedartrail/conf/layer.conf

They are two layers, the file:
meta-intel/common/recipes-bsp/amt/lms_7.1.20.bb
belongs to meta-intel's layer, but the get_file_layer() may return
meta-cedartrail accordig to BBLAYERS' order, since it uses:

for layerdir in self.bblayers:
    if regex.match(os.path.join(layerdir, 'test')):
        return self.get_layer_name(layerdir)

which doesn't care the filename, re-match the filename would fix the
problem.

[YOCTO #3387]

(Bitbake rev: 7a31b9eac4d894c302f0e052a132c31b17d13d1f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: cache.py: remove the duplicated self.file_depends
Robert Yang [Fri, 25 Jan 2013 08:34:13 +0000 (16:34 +0800)]
bitbake: cache.py: remove the duplicated self.file_depends

There are two "self.file_depends =" lines in cache.py::CoreRecipeInfo:

class CoreRecipeInfo(RecipeInfoCommon):
    __slots__ = ()

    cachefile = "bb_cache.dat"

    def __init__(self, filename, metadata):
        self.file_depends = metadata.getVar('__depends', False)
    [snip]
        self.file_depends = metadata.getVar('__depends', False)

They are duplicated, remove the last one.

[YOCTO #3795]

(Bitbake rev: 409a4aa0e166c25a8cfcd91e54f1b61cced74e87)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: hob do not use .hob dir for variables from local.conf and bblayers...
Cristiana Voicu [Wed, 23 Jan 2013 12:13:44 +0000 (14:13 +0200)]
bitbake: hob: hob do not use .hob dir for variables from local.conf and bblayers.conf

If .hob exists, hob takes the variable from there. Change to not override anymore
the variables which comes from bblayers.conf and local.conf

[YOCTO #2934]
(Bitbake rev: 00533e83038e3d5e3cd5d1be73c45afece92ec0c)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: prserv: use only PRSERV_HOST
Constantin Musca [Wed, 23 Jan 2013 14:54:03 +0000 (16:54 +0200)]
bitbake: prserv: use only PRSERV_HOST

- remove PRSERV_PORT variable
- use 'hostname:port' as PRSERV_HOST format
- use 'localhost:0' for enabling the local PRServer

[YOCTO #3744]

(Bitbake rev: ad62eed9e1f0867a406e9fbfa44916a0f1ad1282)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorpm: properly disable perl file dependency checking for rpmdeps
Paul Eggleton [Fri, 25 Jan 2013 11:28:57 +0000 (11:28 +0000)]
rpm: properly disable perl file dependency checking for rpmdeps

We don't want the perl module dependencies being added to each package
by rpmdeps because it causes too many problems when the modules aren't
available at install time (since they get added in do_package which is
too late for the build system to ensure they are available), and it
appears that the perl dependency gathering isn't working reliably in any
case judging by how they are detected on some build hosts and not
others.

This was being disabled previously but it seems like the macros moved
to a different file at some point and nobody noticed; thus make sure we
disable the macros in all RPM macro files.

Should fix [YOCTO #3699].

(From OE-Core rev: e43a72af9055b76eb2ad7e2e42e6a5f3c8854efa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: Fix build on ppc
Khem Raj [Wed, 23 Jan 2013 02:45:00 +0000 (18:45 -0800)]
systemd: Fix build on ppc

ppc discovers an interesting issue in linking systemd where a library is
missing in link cmdline and linker barfs

./.libs/libsystemd-core.a(libsystemd_core_la-manager.o): In function
`manager_check_finished':
/builddir/build/BUILD/systemd-196/src/core/manager.c:2092: undefined
reference to `sd_notifyf'
collect2: error: ld returned 1 exit status

For more info see

https://bugzilla.redhat.com/show_bug.cgi?id=888255

(From OE-Core rev: 2e2a91025ca9c113365c810ce08b48201fe792b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibcheck: fix HOMEPAGE
Paul Eggleton [Wed, 23 Jan 2013 12:10:14 +0000 (12:10 +0000)]
libcheck: fix HOMEPAGE

This was pointing to the zypper homepage, presumably a copy-paste error.

(From OE-Core rev: 5f363483253af712f8ccb173c4cc9d77b7c1ae8c)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoclasses/image-swab: remove zypper-related references
Paul Eggleton [Wed, 23 Jan 2013 12:10:13 +0000 (12:10 +0000)]
classes/image-swab: remove zypper-related references

Remove references to libzypp, zypper and sat-solver which have been
removed.

(From OE-Core rev: cc9144f99844a8485b2b96182bdf40429286ae66)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosat-solver: remove
Paul Eggleton [Wed, 23 Jan 2013 12:10:12 +0000 (12:10 +0000)]
sat-solver: remove

This was only needed by libzypp, which has itself been removed.

(From OE-Core rev: 905f0d407a259f89e420ccdbee5a471cb0fea8f5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agolibzypp: remove
Paul Eggleton [Wed, 23 Jan 2013 12:10:11 +0000 (12:10 +0000)]
libzypp: remove

This was only needed by zypper, which has itself been removed.

(From OE-Core rev: 5c8169bd1c114aab76001a38ee4dd68d00d825e0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agozypper: remove
Paul Eggleton [Wed, 23 Jan 2013 12:10:10 +0000 (12:10 +0000)]
zypper: remove

Functionality provided by Zypper is now covered more effectively by
Smart (python-smartpm) which is now being used for package management
on the target when enabled and RPM packaging is selected.

Fixes [YOCTO #3349].

(From OE-Core rev: cc866433341532a0b5cf8cd5f67998960ea96499)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagedata: Add error message if multiple recipes try to write the same package
Richard Purdie [Mon, 21 Jan 2013 22:49:50 +0000 (22:49 +0000)]
packagedata: Add error message if multiple recipes try to write the same package

If multiple recipes try and write the same package it resulted in a
rather confusing traceback and unintuitive error. This patch
prints a human readable error instead.

[YOCTO #3645]

(From OE-Core rev: 6f817779af77fdb0b861297f0f43c4c6607ce6f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosanity.bbclass: Ensure tmpdir exists when running the check
Richard Purdie [Mon, 21 Jan 2013 22:49:08 +0000 (22:49 +0000)]
sanity.bbclass: Ensure tmpdir exists when running the check

This avoids tracebacks from bitbake if the directory doesn't already
exist.

[YOCTO #3640]

(From OE-Core rev: 1a60e96b21d328fe936e594f3061459e8f2f1b5e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore-image: Add hwcodecs IMAGE_FEATURE
Richard Purdie [Thu, 24 Jan 2013 05:56:11 +0000 (21:56 -0800)]
core-image: Add hwcodecs IMAGE_FEATURE

Currently hardware codecs are being injected in rather ugly ways and end up
either in no or all images. This adds a dedicated IMAGE_FEATURE for them based
on the MACHINE_HWCODECS variable. We may need to refine this in due course
but this patch at least illustrates the concept.

(From OE-Core rev: 1cb370587fd72e3f0f69678748108cc4116767fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-core-x11-xserver: Add XSERVERCODECS variable
Richard Purdie [Thu, 24 Jan 2013 05:56:09 +0000 (21:56 -0800)]
packagegroup-core-x11-xserver: Add XSERVERCODECS variable

At present its hard for the system to provide extra x11 hardware codecs.
We could lump them in with the XSERVER variable but this is suboptimal as
in some use cases the user might not want to include them in some images.

With this patch we keep our options open about separating usage of the two
in the future.

(From OE-Core rev: 285c7577813cf75a3b554f8a5d6d7ba002127ef4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobase: make feature backfilling happen earlier
Richard Purdie [Thu, 24 Jan 2013 17:52:56 +0000 (17:52 +0000)]
base: make feature backfilling happen earlier

Backfilling DISTRO_FEATURES and MACHINE_FEATURES with _append statements happens
too late to use those variables with conditional inherits, like this:

inherit ${@base_contains('DISTRO_FEATURES','sysvinit','update-rc.d_real','',d)}

Instead, do the backfilling at ConfigParse time so that it happens earlier in
the parse, which results in that inherit behaving as expected when sysvinit was
backfilled.

(From OE-Core rev: 22429cdf79ed952072707a929643c7386fa7e056)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake.conf: unbreak all builds with custom DISTRO_FEATURES
Marcin Juszkiewicz [Thu, 24 Jan 2013 17:52:55 +0000 (17:52 +0000)]
bitbake.conf: unbreak all builds with custom DISTRO_FEATURES

Commit 9e7c64ca9afbf27edd0d35a1830ce55ee6d778ab broke all builds where
custom DISTRO_FEATURES were used.

Resulting images ended in non-bootable state due to lack of initscripts
(unless someone had sysvinit or systemd in D_E already).

https://bugs.launchpad.net/linaro-oe/+bug/1102910
https://bugs.launchpad.net/linaro-oe/+bug/1099405/comments/12

(From OE-Core rev: 211e473432230765a48d7af9c66c8737a08cdec7)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocore-image-lsb-sdk/dev: Inherit the base image instead of duplicating
Richard Purdie [Thu, 24 Jan 2013 05:56:10 +0000 (21:56 -0800)]
core-image-lsb-sdk/dev: Inherit the base image instead of duplicating

(From OE-Core rev: de2ad361e7dfe553e2c49c73199da58ce44d89e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoprserv: add LOCALCOUNT to AUTOINCs migration feature
Constantin Musca [Tue, 22 Jan 2013 09:39:30 +0000 (11:39 +0200)]
prserv: add LOCALCOUNT to AUTOINCs migration feature

- use migrate_localcount.bbclass to generate AUTOINC entries
which are exported to LOCALCOUNT_DUMPFILE
- import the generated AUTOINC entries
- one can migrate LOCALCOUNT to AUTOINC by executing:
    bitbake-prserv-tool migrate_localcount

[YOCTO #3071]

(From OE-Core rev: ffab86f13cafb10d8d6273b6af8cd9a3c84eae20)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoqemu.inc: Define preferred providers for libgl, libgles1 and libgles2
Khem Raj [Tue, 22 Jan 2013 05:04:29 +0000 (21:04 -0800)]
qemu.inc: Define preferred providers for libgl, libgles1 and libgles2

This is needed to to boot efl images on qemuarm,qemumips and qemuppc
these options were already defined for qemux86 and qemux86-64 and
therefore the images were booting fine for these two machines

(From OE-Core rev: 60e73068cf542c2134106fe6cfc5971874bbc766)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: Fix build on uclibc
Khem Raj [Tue, 22 Jan 2013 05:04:28 +0000 (21:04 -0800)]
systemd: Fix build on uclibc

Systemd has some uclibc specific patches which
needed to be forwarded ported to 196

(From OE-Core rev: e39f01ba4f6d9d9f1d24fd01745530cde9e92131)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agouclibc-git: Upgrades to latest git
Khem Raj [Tue, 22 Jan 2013 05:04:27 +0000 (21:04 -0800)]
uclibc-git: Upgrades to latest git

Drop upstream accepted patches

(From OE-Core rev: b4ee580d37d15e699dd6efc6551f4c7f8e902e2a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agorootfs_rpm.bbclass: fix the unexpected postinst error
Chen Qi [Tue, 22 Jan 2013 08:44:05 +0000 (16:44 +0800)]
rootfs_rpm.bbclass: fix the unexpected postinst error

If the /etc/rpm-postinsts/ directory was empty, the following error
would occur at system startup.

      ERROR: postinst /etc/rpm-postinsts/* failed

This patch fixes this issue.

[YOCTO #3767]

(From OE-Core rev: 202263aeca837dc7b6615a3dc34569c199163733)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoblktrace: add back do_install method
Saul Wold [Mon, 21 Jan 2013 22:44:42 +0000 (14:44 -0800)]
blktrace: add back do_install method

The recent change to blktrace removed the do_install method,
since this recipe does not use autotools it needs to specifiy
a do_install activity.

(From OE-Core rev: f8832d969746fb879e63d1b28e6beef5ab82a39d)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopopulate_sdk_base.bbclass: Allow installation of ix86 SDK on x86_64 host
Wolfgang Denk [Tue, 22 Jan 2013 12:18:05 +0000 (13:18 +0100)]
populate_sdk_base.bbclass: Allow installation of ix86 SDK on x86_64 host

Commit c04f5435 "populate_sdk_base.bbclass: use SDK_ARCH instead
of SDKMACHINE" prevents not only the installation of 64 bit SDK
configurations on 32 bit hosts (which indeed cannot work), but also
the legitimate installation of a 32 bit SDK on a 64 bit host.

Fix this.

While there, also make sure we use the same patterns ("i[3-6]86" resp.
"x86[-_]64" to get unified strings for both INST_ARCH and SDK_ARCH.

(From OE-Core rev: 7ddd97b9b09fe7a327916ea88908a63375556ae6)

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: crumbs: Add file lost from previous commit
Richard Purdie [Tue, 22 Jan 2013 15:37:56 +0000 (15:37 +0000)]
bitbake: crumbs: Add file lost from previous commit

(Bitbake rev: 90aabeb87d6c1f00d6333cc9930626d36b6d9709)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agocreaterepo-native: update dependency
Kang Kai [Tue, 22 Jan 2013 11:30:22 +0000 (19:30 +0800)]
createrepo-native: update dependency

"RDEPENDS_${PN}_class-native" doesn't work for native recipe because no
-native package will be created. Then the dependencies listed here are
not built when bitbake createrepo-native.
Update and use DEPENDS_class-native instead.

(From OE-Core rev: 0b8dc781e4df0edffa10ac989f8745ac3f684de0)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobind: disable nslookup man page
wenzong.fan@windriver.com [Tue, 22 Jan 2013 09:27:39 +0000 (17:27 +0800)]
bind: disable nslookup man page

The nslookup is not shipped for now, we should disable its man page if
the binary tool is not installed.

[YOCTO#3754]

(From OE-Core rev: 1a31918733a7f8479220c01fc99dd9099fdcaf9b)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: combo box updated correctly
Cristiana Voicu [Tue, 15 Jan 2013 14:50:39 +0000 (16:50 +0200)]
bitbake: hob: combo box updated correctly

The 'select a base image' option is no longer displayed once
an image is selected

[YOCTO #3671]
(Bitbake rev: 27f2247b4c227c3b5adb1ca33d0cd7f7b492e170)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: persist_data: add get_by_pattern method to API
Constantin Musca [Tue, 22 Jan 2013 09:37:57 +0000 (11:37 +0200)]
bitbake: persist_data: add get_by_pattern method to API

- one can use get_by_pattern to get a list of values associated
with keys that match the specified pattern

(Bitbake rev: 6ee1f58698e2d782c54ce5aec271bcec26107eac)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: parse_py: add ~ to config_regexp
Constantin Musca [Tue, 22 Jan 2013 09:37:27 +0000 (11:37 +0200)]
bitbake: parse_py: add ~ to config_regexp

- enable the '~' character in bitbake variables

(Bitbake rev: 7c15ff1d50d7b601414f1d55c90e3c59981a0876)

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: Hob should display warnings generated during parsing
Cristiana Voicu [Mon, 21 Jan 2013 14:40:07 +0000 (16:40 +0200)]
bitbake: hob: Hob should display warnings generated during parsing

-now Hob catches the warnings generated during parsing, and after the parsing
is completed, if there are any warnings, it shows a bar that contains a message
with how many warnings has encountered, and a button "View warnings"
-when "View warnings" button is clicked, Hob shows a dialog with the warnings;
if there more than 1 warning, you can use "Previous" and "Next" button to see them

[YOCTO #3215]
(Bitbake rev: d7b5311d35b3974398fecabfb5ecf1effa85c27e)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: hob: progress bar changed to busy cursor when you open log file
Cristiana Voicu [Mon, 21 Jan 2013 14:50:40 +0000 (16:50 +0200)]
bitbake: hob: progress bar changed to busy cursor when you open log file

-the first implementation for this bug used a progress bar, that is shown
during open file process; it revelead that the progress bar stops earlier
-now I have implemented using gtk.show_uri() method, that shows itself a
busy cursor when it opens a file;
-deleted the code for the first implementation

[YOCTO #2997]
(Bitbake rev: 09d1c4c2db124104b9da460547b20a2c2ff07bb3)

Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: remove unused SERIAL_CONSOLE variable
Ross Burton [Mon, 21 Jan 2013 18:09:21 +0000 (18:09 +0000)]
systemd: remove unused SERIAL_CONSOLE variable

(From OE-Core rev: 751c11e998431613389f094264f096fac5a1c1ae)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd-serialgetty: skip package when not using systemd
Ross Burton [Mon, 21 Jan 2013 18:09:20 +0000 (18:09 +0000)]
systemd-serialgetty: skip package when not using systemd

As this package RDEPENDS on systemd it wants to build systemd, but if systemd
isn't a DISTRO_FEATURE then that package is skipped so world builds fail.  Solve
this by skipping this package too.

(From OE-Core rev: 192efd033c38205e114f62e9f62696a9a49b0970)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd-serialgetty: remove redundant statements
Ross Burton [Mon, 21 Jan 2013 18:09:19 +0000 (18:09 +0000)]
systemd-serialgetty: remove redundant statements

(From OE-Core rev: e5820f56becb3bcee44a461f7fc5640159679a15)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoperl: Fix errors if configure is reattempted
Richard Purdie [Mon, 21 Jan 2013 10:53:01 +0000 (10:53 +0000)]
perl: Fix errors if configure is reattempted

If configure of perl is reattempted it currently fails as it tries to edit
files outside ${S}. Chaging from ${WORKDIR} to ${S} avoids this issue
and allows rebuilds to work.

(From OE-Core rev: 1b66c30eb6085aedce118ce086efbd2e562d0d6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: update uclibc patch headers
Ross Burton [Mon, 21 Jan 2013 12:54:08 +0000 (12:54 +0000)]
systemd: update uclibc patch headers

Discussion has revealed that upstream has formally rejected patches to support
uclibc, so mark this in the headers.

(From OE-Core rev: caf6aa1c996a949ca85f4beaf40d2a19433d18c8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agopackagegroup-sdk-gmae: remove GUPnP stack as it's no longer in oe-core
Ross Burton [Mon, 21 Jan 2013 15:29:31 +0000 (15:29 +0000)]
packagegroup-sdk-gmae: remove GUPnP stack as it's no longer in oe-core

GUPnP is now in meta-multimedia, so remove it from this SDK packagegroup.

(From OE-Core rev: 356a5ee5a74f9cee112eac2c595c13ef707eca82)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogupnp: remove, migrated to meta-multimedia
Ross Burton [Mon, 21 Jan 2013 15:29:30 +0000 (15:29 +0000)]
gupnp: remove, migrated to meta-multimedia

The GUPnP stack was stagnating in oe-core and untested.  It's now moved to
meta-multimedia where it's also been upgraded.

(From OE-Core rev: 51e548a4e61709d9d87a424586529638873835b3)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosite: add x86-32/64 alignment values for at-spi2-core
Ross Burton [Mon, 21 Jan 2013 15:39:54 +0000 (15:39 +0000)]
site: add x86-32/64 alignment values for at-spi2-core

This package isn't yet in oe-core, but GTK+ 3.6 depends on it so will be here at
some point.

(From OE-Core rev: 8c46ec2edc0197b32d32e0f27d5b60271338b600)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: add missing patch headers
Ross Burton [Mon, 21 Jan 2013 12:32:13 +0000 (12:32 +0000)]
systemd: add missing patch headers

The reverts were by Koen and are literal revert commits, the uclibc patches were
mostly introduced by Khem.

(From OE-Core rev: 8925501890cbe630258d9c6fe348f1e3c821fc71)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: use new GTKDOC_DOCDIR and clean up
Ross Burton [Mon, 21 Jan 2013 12:15:34 +0000 (12:15 +0000)]
systemd: use new GTKDOC_DOCDIR and clean up

Now that gtk-doc.bbclass supports overriding the documentation directory,
systemd can just inherit gtk-doc and all of the manual operations can be
removed.

(From OE-Core rev: 8b7816804dcfdc380fbebe6dc8c81f431a7fc450)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk-doc: parameterise the documentation directory
Ross Burton [Mon, 21 Jan 2013 12:15:33 +0000 (12:15 +0000)]
gtk-doc: parameterise the documentation directory

Not every package puts the gtk-doc infrastructure into ${S}, so allow this to be
overridden.

(From OE-Core rev: 40353c9ef83f986a0d49cc6eb654b3ace6ef4dc4)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: fix typo in FILES
Ross Burton [Mon, 21 Jan 2013 12:15:32 +0000 (12:15 +0000)]
systemd: fix typo in FILES

Accidently managed to corrupt FILES_udev.

(From OE-Core rev: b1d8187f66d9646a53928fe288085f4605bc43ef)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoudev: skip in systemd distros, to fix world builds
Ross Burton [Mon, 21 Jan 2013 12:15:31 +0000 (12:15 +0000)]
udev: skip in systemd distros, to fix world builds

(From OE-Core rev: 1179e43d67c96367480e563a36684d550d83fcbe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agosystemd: skip in non-systemd distros to fix world builds
Ross Burton [Mon, 21 Jan 2013 12:15:30 +0000 (12:15 +0000)]
systemd: skip in non-systemd distros to fix world builds

(From OE-Core rev: a2553b5f8b80ca0cd578afa2d2857ebb2b70ee3c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: BBHandler/ConfHandler: Merge fix for multiline comments
Richard Purdie [Mon, 21 Jan 2013 11:00:52 +0000 (11:00 +0000)]
bitbake: BBHandler/ConfHandler: Merge fix for multiline comments

This was meant to be squashed into the previous commit for multiline comment
handling. It fixes the case the commented multiline is followed by an empty
line which was resulting in a traceback instead of a sane error message.

(Bitbake rev: 7e7d692e244fe8dca533f842ca143b9c821e317c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agobitbake: bitbake: BBHandler/ConfHandler: Improve multiline comment handling
Richard Purdie [Fri, 14 Dec 2012 13:53:32 +0000 (13:53 +0000)]
bitbake: bitbake: BBHandler/ConfHandler: Improve multiline comment handling

Faced with an expression like:

 # Some comment \
 FOO = "bar"

what should bitbake do? Technically, the \ character means its multiline and
currently the code treats this as a continuation of the comment. This can
surprise some people and is not intuitive.

This patch makes bitbake simply error and asks the user to be clearer
about what they mean.

(Bitbake rev: 589d31ce41e019ee6a7cb6527d67bc76c0b6382a)

(Bitbake rev: 79c00fabe08b4c210a3bd81cfaffbc47ffdc2e2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agodbus: upgrade to 1.6.8
Cristian Iorga [Thu, 17 Jan 2013 13:16:37 +0000 (15:16 +0200)]
dbus: upgrade to 1.6.8

dbus, dbus-ptest upgraded to v1.6.8

(From OE-Core rev: 272661a7fca7e0ee8f6b0d7a4ba97f09a82a540e)

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agoboost: Upgrade 1.51 -> 1.52
Khem Raj [Sat, 19 Jan 2013 22:40:06 +0000 (14:40 -0800)]
boost: Upgrade 1.51 -> 1.52

Drop hash_enums.patch which is already applied upstream

(From OE-Core rev: c4d3f5596662d6aced46f270f566b510a36e4952)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 years agogtk+3: refresh cross.patch
Ross Burton [Sun, 20 Jan 2013 22:47:28 +0000 (22:47 +0000)]
gtk+3: refresh cross.patch

cross.patch was accepted upstream, so update this patch with the commit that was
merged.

(From OE-Core rev: 8e5ffa370c4259f925a0454fe7fd81c80ef2174b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>