]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agopackage.bbclass: Improve kernel module handling
Richard Purdie [Tue, 29 Jan 2013 13:45:17 +0000 (13:45 +0000)]
package.bbclass: Improve kernel module handling

Currently the kernel module handling consists of several special cases
and has its own path walking. This refactors the code to handle them in
a more standardised way which is also a bit more efficient.

(From OE-Core rev: ad51b54f0afe8c56033137b7cf9ba398877b2651)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage: Rename splitfile functions to something more descriptive
Richard Purdie [Tue, 29 Jan 2013 13:43:15 +0000 (13:43 +0000)]
package: Rename splitfile functions to something more descriptive

The splitfile and splitfile2 function names are confusing and the comments
are also misleading, hard to understand or plain incorrect. This tries to
improve things.

(From OE-Core rev: 46f3050a1f46f814e2d031e7e71600b2932d631c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib.conf: Use BASELIB to set baselib, not hardcode the value
Richard Purdie [Mon, 28 Jan 2013 10:45:54 +0000 (10:45 +0000)]
multilib.conf: Use BASELIB to set baselib, not hardcode the value

(From OE-Core rev: 1a97cab9d4856e8948025ce6f406c76a2732ec36)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosqlite3: Ensure MLPREFIX is applied to AUTO_LIBNAME_PKGS
Richard Purdie [Fri, 1 Feb 2013 14:26:48 +0000 (14:26 +0000)]
sqlite3: Ensure MLPREFIX is applied to AUTO_LIBNAME_PKGS

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoQT4: use '-no-neon' if cpu does not support neon
Roy.Li [Fri, 1 Feb 2013 07:10:29 +0000 (15:10 +0800)]
QT4: use '-no-neon' if cpu does not support neon

Some armv7a cpu does not support neon, like SPEAr1310,
so we should check against "neon" in TUNE_FEATURES.

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodpkg-native:fix dpkg-scanpackages error at deb image creation time on Fedora 17
Hongxu Jia [Fri, 1 Feb 2013 02:38:17 +0000 (10:38 +0800)]
dpkg-native:fix dpkg-scanpackages error at deb image creation time on Fedora 17

Invoking dpkg-scanpackages on Fedora 17 to build deb image meets such an error:

Can't locate Dpkg.pm in @INC  (@INC contains: /usr/local/lib64/perl5 /usr/loc
al/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr
/lib64/perl5 /usr/share/perl5.) at tmp/sysroots/x86_64-linux/usr/bin/dpkg-sca
npackages line 27.

1. The dpkg-scanpackages is invoked at deb image creation time and it is built
by dpkg-native. The dpkg-scanpackages is a perl script and import module `Dpkg'.

2. The Dpkg.pm has been installed in perl's staging dir at dpkg-native compiling
time. Such as `tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/Dpkg.pm'

3. The dpkg-native uses create_wrapper to relocate to perl-native if perl-native
has been built. If perl-native isn't built, it will use the host Dpkg as default.

4. If dpkg-native is built on a new build envionment which means perl-native doesn't
exist before, and the build system doesn't install dpkg (such as Fedora 17), the
dpkg-scanpackages could not work correctly.

5. Modify dpkg-native's depends, change `perl-native-runtime' to `perl-native', Let
perl-native automatically be built before building dpkg-native.

[YOCTO #3817]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomini-x-session: Fix runtime when using without session contents
Otavio Salvador [Fri, 1 Feb 2013 02:36:15 +0000 (00:36 -0200)]
mini-x-session: Fix runtime when using without session contents

The script where behaving badly when the session directory does not
exist and also lacking a dependency to 'sudo'. Instead of adding a
dependency on 'sudo' we use 'su' as done in xserver-common.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconnman-gnome: Add DEPENDS on intltool-native
Ming Liu [Fri, 1 Feb 2013 02:27:40 +0000 (10:27 +0800)]
connman-gnome: Add DEPENDS on intltool-native

When 'bitbake -c configure connman-gnome' is executed from scratch, it fails
with syntax error parsing `IT_PROG_INTLTOOL(0.35.0)' in configure.in. This
is caused by its definition is not included into aclocal.m4

Adding intltool-native to DEPENDS is gonna fix it.

[YOCTO #3815]
[ CQID: WIND00401118 ]

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibaio: Fix MIPS system call interface
Phil Staub [Thu, 31 Jan 2013 16:35:25 +0000 (08:35 -0800)]
libaio: Fix MIPS system call interface

The io_syscallX wrappers in syscall-mips.h discard error return status
by overwriting the value returned in v0 from the system call with -1.

Modify this behavior by returning the negative of the return value on
error (as identified by a3 != 0). This convention is consistent with
the behavior observed in syscall-ppc.h.

For a description of the MIPS system call interface, see:

http://www.linux-mips.org/wiki/Syscall

Signed-off-by: Phil Staub <Phil.Staub@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib: skip packages that provide virtual/kernel
Bruce Ashfield [Thu, 31 Jan 2013 18:31:04 +0000 (13:31 -0500)]
multilib: skip packages that provide virtual/kernel

Rather than keying on recipes that inherit kernel.bbclass, we should
be checking for providers of virtual/kernel when skipping kernel
recipes in multlib builds.

Not all providers of virtual/kernel inherit kernel.bbclass (notably
linux-dummy), so checking on the provider is a more complete check.

We need to be sure to check for inheritance of module-base as well, this
allows for packages that provides modules to avoid the multilib renaming.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel: avoid copying unnecessary files during do_install
Mark Asselstine [Thu, 31 Jan 2013 18:31:03 +0000 (13:31 -0500)]
kernel: avoid copying unnecessary files during do_install

kernel_do_install() populates $kerneldir with files needed to build
external modules. To accomplish this there are several copy commands
to get source from the kernel source tree and build trees after which
a 'clean' is performed. Since we are copying from the build tree we
get about 1G of .o and .cmd files copied over only to have them
removed when we clean. This adds additional IO overhead as well as
overhead caused by pseudo. By avoiding copying these files in the
first place we get multiple gains:
  * avoid initial copy
  * avoid file deletes during clean
  * reduce pseudo overhead

Additionally we are making use of cpio vs cp which tends to be
significantly faster at performing copies.

With these changes I observe a 15-30% decrease in the time to complete
the do_install() operation on the kernel.

[YOCTO #3517]

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa-dri: add extra dri drivers
Ian Reinhart Geiser [Thu, 31 Jan 2013 18:22:41 +0000 (13:22 -0500)]
mesa-dri: add extra dri drivers

 * By default enable only swrast.  This needs to
   be here or for some reason qemuarm tries to
   detect the intel dri libraries and fails.
 * For x86 and x86-64 explicitly set all of
   the supported drm drivers.

 builds properly with qemux86 qemuarm and qemux86-64

Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: removing outdated comment
Lukas Bulwahn [Fri, 1 Feb 2013 10:58:39 +0000 (11:58 +0100)]
insane.bbclass: removing outdated comment

This commit removes an outdated comment that recorded an issue that has been
resolved in the commits 1c75a5df6845090480deff20f469f177501d2182 and
d2d5456cd3b3bd3e52a5dedccca4d46e3a7986d1. Probably, the comment was missed
when changing the behavior in those commits.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agooprofile: avoid processing files under .pc
Ting Liu [Fri, 1 Feb 2013 10:12:38 +0000 (18:12 +0800)]
oprofile: avoid processing files under .pc

Fix the below issue:
| DEBUG: Executing shell function do_configure
| sed: can't read ./.pc/opstart.patch/doc/opstop.1.in: Permission denied
| sed: can't read ./.pc/opstart.patch/doc/opstart.1.in: Permission
denied
| sed: can't read ./.pc/opstart.patch/utils/opstart.c: Permission denied
| ERROR: Function failed: do_configure

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoharfbuzz: fix install of version.h
Marko Lindqvist [Fri, 25 Jan 2013 22:26:37 +0000 (00:26 +0200)]
harfbuzz: fix install of version.h

version.h is listed both in pkginclude_HEADERS (via $HBHEADERS) and
nodist_pkginclude_HEADERS. This double listing is likely cause of
the make install error:
/usr/bin/install: cannot create regular file `.../harfbuzz/0.9.10-r0/image/usr/include/harfbuzz/hb-version.h': File exists
Just remove the nodist_pkginclude_HEADERS entry. We're not creating
the tarball, and listing version.h here wouldn't prevent the other
listing from including it to tarball anyway.

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorpm: Ensure native binaries are correctly wrapped
Richard Purdie [Wed, 30 Jan 2013 14:46:00 +0000 (14:46 +0000)]
rpm: Ensure native binaries are correctly wrapped

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage_ipk/deb/rpm: Ensure deploy staging directory is empty before rerunning task
Richard Purdie [Tue, 29 Jan 2013 22:04:35 +0000 (22:04 +0000)]
package_ipk/deb/rpm: Ensure deploy staging directory is empty before rerunning task

If we don't do this, stale files can build up, particularly with the PR
server.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodirectfb: Explictly disable mesa
Richard Purdie [Wed, 30 Jan 2013 13:07:42 +0000 (13:07 +0000)]
directfb: Explictly disable mesa

Without this, directfb might build with mesa enabled if present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Fix incorrect getVar call
Richard Purdie [Tue, 29 Jan 2013 13:39:08 +0000 (13:39 +0000)]
insane.bbclass: Fix incorrect getVar call

On a trace I was a bit puzzled why getVar was making 180 calls to len(d).
This is an expensive operation that should be very rarely called and
certainly not by getVar. In perl's do_package it was resulting in
~1.5 million function calls from those 180 cases.

Ultimately this typo was why. Lets fix it and save the CPU cyles.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Move debug comment to more logical place
Richard Purdie [Tue, 29 Jan 2013 13:37:39 +0000 (13:37 +0000)]
sstate: Move debug comment to more logical place

The same log message gets output multiple times in the log which look
confusing and is rather pointless. Move the log message to the correct
level.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-tools: upgrade to 1.0.26.1
Cristian Iorga [Tue, 29 Jan 2013 10:15:07 +0000 (12:15 +0200)]
alsa-tools: upgrade to 1.0.26.1

Removed the following tools:
- all related to hdsp (required gtk+ and fltk-config)
- ld10k1, qlo10k1 (required QT)
- hdajackretask

Fixed the automake issue for cross-compilation

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomodule.bbclass: Don't add pkg_postinst/pkg_prerm to all packages in recipe
Saul Wold [Tue, 29 Jan 2013 22:38:11 +0000 (14:38 -0800)]
module.bbclass: Don't add pkg_postinst/pkg_prerm to all packages in recipe

The code in module.bbclass was appending the pkg_postinst and
pkg_prerm to all packages that are part of a given recipe, meaning
that the -lic, -dev, -doc, ... packages all got the scriptlet
This change uses  only which macthes with the RDEPENDS and FILES
already used in module.bbclass.

The failure was that rootfs creation would fail due to the -lic package
being installed before the kernel and the script would fail.

[YOCTO #3803]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_rpm: Escape the backtick to ensure the ls runs on the target
Saul Wold [Tue, 29 Jan 2013 23:04:26 +0000 (15:04 -0800)]
rootfs_rpm: Escape the backtick to ensure the ls runs on the target

This change ensures that the ls /etc/rpm-postinsts runs in the target
at first boot time, rather than at the creation time of the script on
the host.

This was causing the following error in the rootfs log:

+ install -d /srv/ssd/sgw/machines/fri2/tmp/work/fri2-poky-linux/core-image-minimal/1.0-r0/rootfs//etc/rcS.d
+ i=
+ ls /etc/rpm-postinsts/
ls: cannot access /etc/rpm-postinsts/: No such file or directory

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtools : upgrade to 4.0.18
Andrei Dinu [Mon, 28 Jan 2013 12:27:46 +0000 (14:27 +0200)]
mtools : upgrade to 4.0.18

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh : upgrade to 6.1p1
Andrei Dinu [Mon, 28 Jan 2013 08:50:04 +0000 (10:50 +0200)]
openssh : upgrade to 6.1p1

Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomigrate_localcount.bbclass: use PRAUTOINX instead of PN & PV
Constantin Musca [Mon, 28 Jan 2013 09:01:20 +0000 (11:01 +0200)]
migrate_localcount.bbclass: use PRAUTOINX instead of PN & PV

- we need to use PRAUTOINX (it covers all cases)
- it addresses bumped PE issues

[YOCTO #3071]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibcgroup: Update to 0.38
Saul Wold [Wed, 23 Jan 2013 21:27:30 +0000 (13:27 -0800)]
libcgroup: Update to 0.38

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoresolvconf: Update to 1.69
Saul Wold [Wed, 23 Jan 2013 21:28:08 +0000 (13:28 -0800)]
resolvconf: Update to 1.69

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoutil-linux: Update to 2.22.2
Saul Wold [Wed, 23 Jan 2013 21:27:12 +0000 (13:27 -0800)]
util-linux: Update to 2.22.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agodhcp: Update to 4.2.5
Saul Wold [Wed, 23 Jan 2013 21:26:11 +0000 (13:26 -0800)]
dhcp: Update to 4.2.5

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agofile: Update to 5.12
Saul Wold [Wed, 23 Jan 2013 21:25:42 +0000 (13:25 -0800)]
file: Update to 5.12

Remove the backported automake patch, now fixed upstream

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agocracklib: Update to 2.8.22
Saul Wold [Wed, 23 Jan 2013 21:24:39 +0000 (13:24 -0800)]
cracklib: Update to 2.8.22

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibidn: Update to 1.26
Saul Wold [Wed, 23 Jan 2013 21:24:02 +0000 (13:24 -0800)]
libidn: Update to 1.26

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoman-pages: Update to 3.45
Saul Wold [Wed, 23 Jan 2013 21:23:27 +0000 (13:23 -0800)]
man-pages: Update to 3.45

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomc: Update to 4.8.7
Saul Wold [Wed, 23 Jan 2013 21:23:08 +0000 (13:23 -0800)]
mc: Update to 4.8.7

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysstat: Update to 10.1.3
Saul Wold [Wed, 23 Jan 2013 21:22:52 +0000 (13:22 -0800)]
sysstat: Update to 10.1.3

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorgb: Update to 1.0.5
Saul Wold [Wed, 23 Jan 2013 21:22:35 +0000 (13:22 -0800)]
rgb: Update to 1.0.5

Remove the backported automake patch, now fixed upstream

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibnl: Update to 3.2.19
Saul Wold [Wed, 23 Jan 2013 21:21:47 +0000 (13:21 -0800)]
libnl: Update to 3.2.19

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosystemd: Upgrade to 197
Khem Raj [Thu, 24 Jan 2013 06:04:02 +0000 (22:04 -0800)]
systemd: Upgrade to 197

LGPL-2.1 licensce is updated to reflect the new FSF address
Drop patches to disable argparse and dbus-python

analyser has been implemented in C lets use that patch
and get rid of the python version

disable hostname detection for uclibc bases systems
since uclibc lacks NSS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Conflicts:
meta/recipes-core/systemd/systemd_197.bb

12 years agoicu: Fix build on uclibc
Khem Raj [Thu, 24 Jan 2013 05:57:08 +0000 (21:57 -0800)]
icu: Fix build on uclibc

_timezone is not implemented in uclibc therefore
bypass it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoquota: inherit gettext
Khem Raj [Thu, 24 Jan 2013 05:55:53 +0000 (21:55 -0800)]
quota: inherit gettext

Othereise it does not honor USE_NLS variable
and does not have proper dependencies. Which leads
to compile errors like missing liintl.h on uclibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Backport upstream 2.17 patches
Khem Raj [Wed, 23 Jan 2013 02:38:52 +0000 (18:38 -0800)]
eglibc: Backport upstream 2.17 patches

These two patches has been applied to eglibc 2.17 branch
since we created our snapshot.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc_2.17: Fix Tibetian locale generation error
Khem Raj [Fri, 4 Jan 2013 17:13:11 +0000 (09:13 -0800)]
eglibc_2.17: Fix Tibetian locale generation error

This is fallout of BZ #13950 fix to glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoeglibc: Upgrade recipes 2.16 -> 2.17
Khem Raj [Fri, 4 Jan 2013 07:28:20 +0000 (23:28 -0800)]
eglibc: Upgrade recipes 2.16 -> 2.17

Drop patches that are applied upstream

Fix the license checksums for changes in LICENSES file
the new changes add more copyright notices that were missing earlier

Moving ports is no longer needed since ports is now part of libc proper

Refresh tzselect-sh.patch to accomodate upstream changes

C++ headers discovery relative to target sysroot is fixed differently
upstream hence we drop use-sysroot-cxx-headers.patch

aarch64 support is already available in 2.17 hence drop the local
patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackage.bbclass: remove RRECOMMENDS on base packages for locale packages
Andreas Müller [Fri, 18 Jan 2013 12:41:49 +0000 (13:41 +0100)]
package.bbclass: remove RRECOMMENDS on base packages for locale packages

As long as we support only one locale package per recipe this leads to unwanted
packages in images. This patch was motivated by samba (meta-oe): only wanting
libsmbclient one gets full samba server into the image. For my standard image
the follwing package were removed by this patch:

-acl_2.2.51-r3_armv7a-vfp-neon.ipk
-alsa-states_0.2.0-r3_armv7a-vfp-neon.ipk
-alsa-utils_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-aconnect_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-alsaconf_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-alsactl_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-alsaloop_1.0.25-r3_armv7a-vfp-neon.ipk
 alsa-utils-alsamixer_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-alsaucm_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-amixer_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-aplay_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-aseqdump_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-aseqnet_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-iecset_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-midi_1.0.25-r3_armv7a-vfp-neon.ipk
-alsa-utils-speakertest_1.0.25-r3_armv7a-vfp-neon.ipk
-attr_2.4.46-r4_armv7a-vfp-neon.ipk
-avahi_0.6.31-r7.1_armv7a-vfp-neon.ipk
-gtk-engines_2.20.2-r3_armv7a-vfp-neon.ipk
-pulseaudio_2.1-r15_armv7a-vfp-neon.ipk
-samba_3.6.8-r6_armv7a-vfp-neon.ipk
-vte_0.28.2-r5_armv7a-vfp-neon.ipk
-xz_5.1.2alpha-r0_armv7a-vfp-neon.ipk

Strange effect: For samba buildhistory's depends.dot says:
-samba -> libc6;
-samba -> libgcc1;
-samba -> libreadline6;
-samba -> libtalloc2;
-samba -> libtdb1;
-samba -> libwbclient0;
-samba -> libz1;
-samba -> update_rc_d;
-samba_locale_de -> samba [style=dotted];
 samba_locale_de -> virtual_locale_de [style=dotted];
-samba_locale_fr -> samba [style=dotted];
-samba_locale_fr -> samba [style=dotted];

This is conflicts to buildhistory's result on samba package not mentioning
any changes for samba package.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agobuildhistory.bbclass: track also complementary package information
Andreas Müller [Fri, 18 Jan 2013 12:41:48 +0000 (13:41 +0100)]
buildhistory.bbclass: track also complementary package information

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibcgroup: fix the QA issue for pam_cgroup.so*
Xin Ouyang [Thu, 24 Jan 2013 11:25:33 +0000 (19:25 +0800)]
libcgroup: fix the QA issue for pam_cgroup.so*

PAM modules in ${base_libdir}/security/ should be binary .so files,
not symlinks, so fix this. Since pam_cgroup.so is installed into
${base_libdir}/security, move libcgroup.so.* to ${base_libdir} to
avoid "unsafe-references-in-binaries" QA issue.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosysvinit & initscripts: use update-rc.d
Chen Qi [Tue, 22 Jan 2013 07:02:42 +0000 (15:02 +0800)]
sysvinit & initscripts: use update-rc.d

Update-rc.d provides a cleaner interface for creating links for init scripts.
So we use update-rc.d to replace the redundant 'ln -sf xxx' statements.

[YOCTO #3708]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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.

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 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'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

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>
12 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.

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

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

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
12 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.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
12 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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

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

- the new PRSERV_HOST format is 'host:port'
- PRSERV_PORT has been removed

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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]

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosample.extended: Add DISTRO_FEATURES_INITMAN
Radu Moisan [Wed, 23 Jan 2013 08:18:17 +0000 (10:18 +0200)]
sample.extended: Add DISTRO_FEATURES_INITMAN

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>