]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
12 years agoudev: Ensure tmpfs are mounted and volatile/run exists
Richard Purdie [Mon, 29 Oct 2012 15:16:17 +0000 (15:16 +0000)]
udev: Ensure tmpfs are mounted and volatile/run exists

There is a race with udev where eiher the run directory can get replaced
during bootup leading to ude errors, or if the tmpfs was mounted and
populate-volatiles hasn't run, udev won't start at all.

This ensures that any tmpfs get mounted before udev starts and that the
default volatiles/run directory at least exists, fixing the races
and boot time errors caused after the recent udev upgrade.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: Use correct variable in udev.conf for run_path
Richard Purdie [Mon, 29 Oct 2012 10:58:56 +0000 (10:58 +0000)]
udev: Use correct variable in udev.conf for run_path

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: remove license.html from LIC_FILES_CHKSUM
Phil Blundell [Mon, 29 Oct 2012 17:36:37 +0000 (17:36 +0000)]
polkit: remove license.html from LIC_FILES_CHKSUM

This is a generated file and gets removed by "make clean" which then
causes subsequent rebuilds to fail.  Also, the content in this file
is taken verbatim from COPYING (which is already in LIC_FILES_CHKSUM)
so checking it for a second time doesn't accomplish much.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev-extraconf: Don't mount root filesystem under /media
Andy Ross [Tue, 18 Sep 2012 21:38:45 +0000 (14:38 -0700)]
udev-extraconf: Don't mount root filesystem under /media

The mount.sh handler attempts to prevent already-mounted filesystems
from being mounted as dynamic/removable "/media".  But it misses the
case where the kernel has mounted the root filesystem (e.g. with
"root=/dev/sda1").  In that situation, /proc/mounts has a device name
of "/dev/root" instead of the proper $DEVNAME string exposed by udev.
So we must also test the root filesystem device number vs. the
$MAJOR/$MINOR udev tells us.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: add /usr/bin/stat applet
Andy Ross [Tue, 18 Sep 2012 21:38:44 +0000 (14:38 -0700)]
busybox: add /usr/bin/stat applet

The busybox defconfig lacks a stat tool, the functionality of which
cannot be reproduced in a way accessible to a shell script running in
a minimal configuration.  Enable, and modify the installation path to
/usr/bin/stat to match the coreutils tool for proper alternatives
handling.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolttng-modules: remove unused lttng-syscalls patch
Tom Zanussi [Fri, 26 Oct 2012 16:21:16 +0000 (11:21 -0500)]
lttng-modules: remove unused lttng-syscalls patch

commit b7e184508 (lttng-2.0: fix srcrev/pv to match the recipe
filenames) removed the
lttng-sycalls-protect-is_compat_task-from-redefiniti.patch from the
SRC_URI but forgot to remove the patch itself.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Change systemd_unitdir definition
Khem Raj [Fri, 26 Oct 2012 07:03:49 +0000 (00:03 -0700)]
bitbake.conf: Change systemd_unitdir definition

systemd_unitdir indicates the arch independent
files which are basically scripts and unit files
and systemd wants then to be in /lib always even
when base_libdir is  /lib64, hence we have to reflect
that and not use base_libdir to define it. Otherwise
on architectures where base_libdir is lib64 e.g. ppc64
or multilibbed x86_64 this wont work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_identifier: replace slash with hyphen
Mihai Lindner [Fri, 26 Oct 2012 14:37:18 +0000 (17:37 +0300)]
distro_identifier: replace slash with hyphen

Use "-" instead of "/" in "n/a" strings ("Distributor ID" and/or
"Release"), provided by `lsb_release`.
This leads to directories and subdirectories created in ./sstate-cache/
e.g. Distro-n/a/ where "Distro-n" is dir and "a" is subdir.

Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_base: allow SDK path of various level
Fabien Proriol [Tue, 16 Oct 2012 14:32:30 +0000 (14:32 +0000)]
populate_sdk_base: allow SDK path of various level

In the previous version, tar extraction use the --strip-component
option with "4" hard coded value.
If we set another SDKPATH, with a different depth, the sdk installation
fails.

This patch computes the level from the SDKPATH value.

Signed-off-by: Fabien Proriol <fabien.proriol@jdsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: add perl to RDEPENDS
Saul Wold [Thu, 25 Oct 2012 20:00:38 +0000 (13:00 -0700)]
ltp: add perl to RDEPENDS

Some of the ltp scripts are perl, this was not seen in the
past because ltp is normally installed in an -sdk build with
perl already there.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosstate: add manifest info for shared file matches
Saul Wold [Thu, 18 Oct 2012 19:25:05 +0000 (12:25 -0700)]
sstate: add manifest info for shared file matches

Present the manifest file that contains the matches for
files being installed to a location that already contains
that file. This will help to determine which is the correct
recipe to fix when this occurs.

[YOCTO #3191]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogst-meta-base: include ximagesink plugin when x11 is a feature
Saul Wold [Wed, 24 Oct 2012 20:52:17 +0000 (13:52 -0700)]
gst-meta-base: include ximagesink plugin when x11 is a feature

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: remove libpulse-browse, removed upstream in 2011
Ross Burton [Wed, 24 Oct 2012 16:37:36 +0000 (17:37 +0100)]
pulseaudio: remove libpulse-browse, removed upstream in 2011

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: fix library packaging
Ross Burton [Wed, 24 Oct 2012 16:37:35 +0000 (17:37 +0100)]
pulseaudio: fix library packaging

libpulsecommon has moved into libdir/pulse.

libpulsedsp is an internal library for padsp so put that into pulseaudio-misc
along with padsp.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: move helper binaries into the relevant module packages
Ross Burton [Wed, 24 Oct 2012 16:37:34 +0000 (17:37 +0100)]
pulseaudio: move helper binaries into the relevant module packages

proximity-helper is only used by the bluetooth-proximity module, and
gconf-helper is only used by the gconf module.  Clarify the packaging and clean
up dependencies by shipping the helper binaries with the modules that spawn
them.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: add GConf dependency
Ross Burton [Wed, 24 Oct 2012 16:37:33 +0000 (17:37 +0100)]
pulseaudio: add GConf dependency

Add explicit build-dependency on GConf as currently it's an implicit dependency
and so vunerable to races at build time.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoinsane.bbclass and friends: Fix sanity checks and multlib headers for n32
Peter Seebach [Tue, 23 Oct 2012 22:56:00 +0000 (17:56 -0500)]
insane.bbclass and friends: Fix sanity checks and multlib headers for n32

The n32 architecture is odd, in that it's a mips64 ABI which happens
to be 32-bit. To handle this, we need something in the environment
which can be used to distinguish it. The obvious place to stash this
is the ABI suffix, so we use "n32" as an ABI suffix. This allows
a couple of improved checks:

1. In insane.bbclass, we can use "linux-gnun32" to discern that it's
okay for a mips64 binary to be a 32-bit binary in some cases.
2. In multilib_header, we can check for the n32 ABI, and use a distinct
value.
3. In siteinfo, add linux-gnun32 as a synonym for linux, similar to
what's done for linux-gnux32, and tell the mips*-linux-gnun32 variants
to pick up the corresponding mips-linux site configs.

Note that the multilib header wrapper already has n32 hooks in it, there
was just nothing creating -n32 header variants.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_base: Ensure that the multilib cross-canadian tools are used
Mark Hatle [Mon, 22 Oct 2012 14:55:47 +0000 (09:55 -0500)]
populate_sdk_base: Ensure that the multilib cross-canadian tools are used

Update the host toolchain list, for cross-canadian toolchains, to ensure
that all of the supported multilibs are built and installed.  This
dynamically generates the dependnecy set based on the current multilib
configuration.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopopulate_sdk_base: Update extraction script for multilibs
Mark Hatle [Wed, 26 Sep 2012 23:02:06 +0000 (18:02 -0500)]
populate_sdk_base: Update extraction script for multilibs

When multilibs are enabled, there will be more then one environment
file created.  We need to be sure to process each environment file.
The next function can simply use the last environment file processed
to get the magic value(s) that it requires.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomultilib - crosssdk: Stop building multilib for crosssdk packages
Mark Hatle [Wed, 26 Sep 2012 23:01:04 +0000 (18:01 -0500)]
multilib - crosssdk: Stop building multilib for crosssdk packages

Crosssdk packages are not actually multilib packages, so treat them
the same as other nativesdk packages in the multilib, base, and
classextend components.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agomultilib: Add support for cross-canadian multilib packages
Mark Hatle [Mon, 24 Sep 2012 21:25:37 +0000 (16:25 -0500)]
multilib: Add support for cross-canadian multilib packages

Add support for the generation of cross-canadian packages.

Each cross-canadian package has:
 PN = "pkg-cross-canadian-${TRANSLATED_TARGET_ARCH}"

in order for that to be evaluated properly with multilibs enabled, it was
necessary to detect both the presence of the cross-canadian packages and
then update the vars using the OVERRIDE for the multilib.  Additional checks
were made to ensure that any dependency that sais "cross-canadian" did not
get prefixed with the MLPREFIX.

Also, make sure that even when building multilib cross-canadian packages,
we only use the single SDK PACKAGE_ARCH, we don't want or need variants.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agozeroconf: remove
Paul Eggleton [Wed, 22 Aug 2012 15:50:27 +0000 (15:50 +0000)]
zeroconf: remove

We already have avahi in OE-Core and some cursory research suggests that
avahi is preferred over this package, which has apparently not seen a
release since 2006. Nothing in OE-Core actually refers to it, so let's just
remove it.

CC: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoudev: upgrade to 182
Alexandru DAMIAN [Fri, 21 Sep 2012 20:57:21 +0000 (13:57 -0700)]
udev: upgrade to 182

This is the final upgrade of udev. Futher upgrades will only
come in conjunction with systemd.

The v4l1 removal patch is deprecated as the bug is fixed inside udev.
There is a new patch fixing the path for default sh interpreter.
New debug binaries are generated, and udev.inc is modified to package
those correctly.
The install locations changed for udevd and udevadm, so the scripts
are updated accordingly.

(From OE-Core rev: 3cbe52b94c4d559a037347ac419fafee5af84fe6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Conflicts:

meta/recipes-core/udev/udev_164.bb

sgw - Fixed up DEPENDS += and added some OECONF options that where in the
meta-oe version and make sense to be included.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: fix rebuilds
Ross Burton [Thu, 25 Oct 2012 14:07:04 +0000 (14:07 +0000)]
diffutils: fix rebuilds

If diffutils rebuilds it tries to remove with "rm" files that don't exist
anymore, resulting in an error.

Use rm -f so the removal always succeeds.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: update dependencies
Kang Kai [Thu, 25 Oct 2012 09:50:58 +0000 (09:50 +0000)]
perl: update dependencies

Update dependencies for perl modules again. When only install
perl-module-file-glob, run perl script with "require File::Glob;" will
fail. Update dependencies to fix that.

[Yocto 3069]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocogl/clutter: Explicitly depend on libdrm for GLX
Richard Purdie [Thu, 25 Oct 2012 11:19:06 +0000 (11:19 +0000)]
cogl/clutter: Explicitly depend on libdrm for GLX

cogl and clutter explicitly rely on libdrm being present when using the glx
backend. If its not listed in DEPENDS and an alternative to mesa is used, it
may not actually be present. This patch ensures it is and fixes a build
race condition which could see dependencies like clutter-box2d failing to
compile due to missing pkgconfig dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: update dependencies
Kang Kai [Wed, 24 Oct 2012 06:09:53 +0000 (14:09 +0800)]
automake: update dependencies

Remove the RDEPENDS for nativesdk because the nativesdk-automake also
needs perl modules.

Add dependencies perl-module-thread-queue and perl-module-threads.

Remove redundant dependencies that they are already required by autoconf
and autoconf is required by automake.

In this removed list, "-->" present "required by":

  perl-module-cwd --> perl-module-file-path --> autoconf
  perl-module-dynaloader --> perl-module-xsloader --> perl-module-fcntl
     --> perl-module-file-stat --> autoconf
  perl-module-exporter-heavy --> perl-module-exporter --> autoconf
  perl-module-constant --> autoconf
  perl-module-errno --> autoconf
  perl-module-file-basename --> autoconf
  perl-module-file-compare --> autoconf
  perl-module-file-copy --> autoconf
  perl-module-file-glob --> autoconf
  perl-module-file-spec-unix --> perl-module-file-spec
         --> perl-module-io-file --> autoconf
  perl-module-file-stat --> autoconf
  perl-module-getopt-long --> autoconf
  perl-module-io --> perl-module-IO-handle --> perl-module-IO-seekable
     --> perl-module-io-file --> autoconf
  perl-module-io-file --> autoconf
  perl-module-posix --> autoconf

Bump up PR.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautoconf: update runtime dependencies
Kang Kai [Wed, 24 Oct 2012 06:09:52 +0000 (14:09 +0800)]
autoconf: update runtime dependencies

Update autoconf runtime dependencies on perl and perl modules. And
remove RDEPENDS for nativesdk because the nativesdk-autoconf has same
dependencies with autoconf.

Then fixes autoreconf runs failed both on target and toolchain.

Bump up PR.

[Yocto 3100]

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: update dependencies among modules
Kang Kai [Wed, 24 Oct 2012 06:09:51 +0000 (14:09 +0800)]
perl: update dependencies among modules

Run autoreconf fails because it uses several perl modules and they
requires other perl modules. So update these dependencies for:
  perl-module-exporter
  perl-module-file-glob
  perl-module-file-path
  perl-module-file-spec
  perl-module-file-stat
  perl-module-io-file
  perl-module-io-handle
  perl-module-io-seekable
  perl-module-posix

And RDEPENDS rules in file perl-rdepends_5.14.2.inc don't work for
nativesdk perl module packages. Replace all "perl" with "${PN}" in the
file to fix that.

In nativesdk.bbclass it calls
oe.classextend.NativesdkClassExtender().map_packagevars() to map package
vars include var RDEPENDS. In map_packagevars():

  for pkg in (self.d.getVar("PACKAGES", True).split() + [""]):

the value of var "PACKAGES" may not be calculated correctly, so for
all the nativesdk packages created by

  PACKAGES_DYNAMIC_virtclass-nativesdk += "^nativesdk-perl-module-.*"

dependencies are wrong.

This is similar with 51cbb5ae76a22d465e2f6c5ef923ec2682624e3b.

Bump up PR.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-icon-theme: merge sato-icon-theme.inc into recipe
Andreas Müller [Wed, 24 Oct 2012 08:05:17 +0000 (10:05 +0200)]
sato-icon-theme: merge sato-icon-theme.inc into recipe

nothing else needs sato-icon-theme.inc

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosato-icon-theme: fix build
Andreas Müller [Wed, 24 Oct 2012 08:05:16 +0000 (10:05 +0200)]
sato-icon-theme: fix build

| Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/lib/icon-naming-utils/icon-name-mapping line 12.
| BEGIN failed--compilation aborted at /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/lib/icon-naming-utils/icon-name-mapping line 12.
| make[3]: *** [install-data-local] Error 2
| make[3]: Leaving directory `/home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/sato-icon-theme-0.4.1/16x16/actions'
| make[2]: *** [install-am] Error 2
| make[2]: Leaving directory `/home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/sato-icon-theme-0.4.1/16x16/actions'
| make[1]: *** [install-recursive] Error 1
| make[1]: Leaving directory `/home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/sato-icon-theme-0.4.1/16x16'
| make: *** [install-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_install (see /home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/sato-icon-theme-0.4.1-r5/temp/log.do_install.21502 for further information)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-icon-theme: remove unused configure variable
Andreas Müller [Wed, 24 Oct 2012 08:05:15 +0000 (10:05 +0200)]
gnome-icon-theme: remove unused configure variable

configure: WARNING: unrecognized options: --disable-silent-rules, --with-libtool-sysroot, --disable-hicolor-check

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agognome-icon-theme: fix icon mapping
Andreas Müller [Wed, 24 Oct 2012 08:05:14 +0000 (10:05 +0200)]
gnome-icon-theme: fix icon mapping

Multiple errors in log.do_install as:
Can't locate XML/Simple.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/lib/../libexec/icon-name-mapping line 12.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg-utils: bump SRCREV to latest
Martin Jansa [Wed, 24 Oct 2012 11:37:05 +0000 (13:37 +0200)]
opkg-utils: bump SRCREV to latest

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogst-plugins-good: disable taglib explicitly
Ross Burton [Wed, 24 Oct 2012 09:30:18 +0000 (10:30 +0100)]
gst-plugins-good: disable taglib explicitly

This was being detected automatically so the build wasn't deterministic.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: break three very long lines
Robert Yang [Tue, 23 Oct 2012 07:52:26 +0000 (15:52 +0800)]
bitbake.conf: break three very long lines

Break the following 3 very long lines into 3 pieces, make a line under
80 characters, will modify BB_HASHBASE_WHITELIST and
BB_HASHCONFIG_WHITELIST in the next patch:

BB_HASHBASE_WHITELIST
BB_HASHCONFIG_WHITELIST
BB_SIGNATURE_EXCLUDE_FLAGS

[YOCTO #3299]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoxorg-driver: add xserver driver ABI dependencies
Ross Burton [Mon, 22 Oct 2012 09:37:25 +0000 (10:37 +0100)]
xorg-driver: add xserver driver ABI dependencies

At build time extract the xserver driver ABI versions that we're building
against and add RDEPENDs on them, so the driver isn't used against an xserver
with a different ABI (which won't work).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agorootfs_rpm.bbclass: maybe no rpm postinst script
Robert Yang [Wed, 26 Sep 2012 09:22:16 +0000 (17:22 +0800)]
rootfs_rpm.bbclass: maybe no rpm postinst script

There maybe no rpm postinst script (e.g., core-image-minimal), then the
"*" is not expanded, and there would be error:

head: cannot open `rpm-postinsts/*' for reading: No such file or directory

Check whether it exists or not will fix the problem.

[YOCTO #3172]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoterminal: Add support for running custom terminals.
Morten Minde Neergaard [Fri, 19 Oct 2012 10:37:07 +0000 (12:37 +0200)]
terminal: Add support for running custom terminals.

Example config:
OE_TERMINAL = "custom"
OE_TERMINAL_CUSTOMCMD = "mysuperterm"

Signed-off-by: Morten Minde Neergaard <mneergaa@cisco.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoshadow-securetty: add ARM AMBA serial ports
Marcin Juszkiewicz [Wed, 17 Oct 2012 12:54:01 +0000 (14:54 +0200)]
shadow-securetty: add ARM AMBA serial ports

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolinux-firmare: upgrade to latest commit
Ross Burton [Thu, 18 Oct 2012 14:03:41 +0000 (15:03 +0100)]
linux-firmare: upgrade to latest commit

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-immodules-cache: Add initial class to update gtk inputmethod module cache
Samuel Stirtzel [Thu, 18 Oct 2012 07:32:47 +0000 (09:32 +0200)]
gtk-immodules-cache: Add initial class to update gtk inputmethod module cache

This is used by:
openembedded-core/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
meta-openembedded/meta-oe/recipes-support/maliit/maliit-framework_git.bb

Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agonativesdk-ncurses 5.9: files were installed but not shipped
Robert Yang [Tue, 23 Oct 2012 13:12:45 +0000 (21:12 +0800)]
nativesdk-ncurses 5.9: files were installed but not shipped

There is an warning:

$ bitbake nativesdk-ncurses

WARNING: QA Issue: nativesdk-ncurses: Files/directories were installed
but not shipped
  /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/clear.ncurses
  /opt/poky/1.3+snapshot/sysroots/i686-pokysdk-linux/usr/bin/reset.ncurses
NOTE: Tasks Summary: Attempted 533 tasks of which 521 didn't need to be
rerun and all succeeded.

And there is no clear or reset tool in the SDK.

This is caused by:
ALTERNATIVE_ncurses-tools = "clear reset"

It creates clear.ncurses and reset.ncurses which are used for avoiding
the conflicts with the target busybox, but SDK doesn't need them since
there is no nativesdk-busybox (then no conflicts), so:

ALTERNATIVE_ncurses-tools_class-target = "clear reset"

will fix the problem.

[YOCTO #3325]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolttng-2.0: fix srcrev/pv to match the recipe filenames
Christopher Larson [Mon, 22 Oct 2012 15:23:12 +0000 (08:23 -0700)]
lttng-2.0: fix srcrev/pv to match the recipe filenames

Somehow the recipe names got bumped, but the SRCREV and PVs in the recipes
didn't get updated, so they were still building old versions.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopackagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0
Tom Zanussi [Tue, 16 Oct 2012 04:59:08 +0000 (23:59 -0500)]
packagegroup-core-tools-profile: replace 'legacy' lttng with lttng 2.0

packagegroup-core-tools-profile currently pulls in the 'legacy' lttng
packages, which are useless without legacy lttng support in the kernel.

This makes packagegroup-core-tools-profile pull in the lttng 2.0
packages instead, which don't need any kernel modifications to work.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoopkg-utils: Add needed python modules as RDEPENDS
Andrei Gherzan [Sun, 21 Oct 2012 15:40:39 +0000 (18:40 +0300)]
opkg-utils: Add needed python modules as RDEPENDS

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolibxkbcommon: new window system-independent XKB library
Ross Burton [Tue, 23 Oct 2012 19:57:37 +0000 (20:57 +0100)]
libxkbcommon: new window system-independent XKB library

Used by Wayland, Clutter, and more.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqemugl: Remove since support for it was removed from qemu
Richard Purdie [Wed, 24 Oct 2012 11:30:53 +0000 (12:30 +0100)]
qemugl: Remove since support for it was removed from qemu

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibical: remove
Ross Burton [Mon, 22 Oct 2012 10:53:06 +0000 (11:53 +0100)]
libical: remove

This was only used by evolution-data-server and is now maintained in
meta-oe/meta-gnome.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoevolution-data-server: remove
Ross Burton [Mon, 22 Oct 2012 10:53:05 +0000 (11:53 +0100)]
evolution-data-server: remove

Remove evolution-data-server, this is now maintained in meta-oe/meta-gnome and
is not needed by the GMAE SDK anymore.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogmae: remove Evolution Data Server
Ross Burton [Mon, 22 Oct 2012 10:53:04 +0000 (11:53 +0100)]
gmae: remove Evolution Data Server

Evolution Data Server is now maintained in meta-oe/meta-gnome and GMAE is dead,
so continue pruning the sdk-gmae package group until we can remove it entirely.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouClibc: Resolve conflicting options when building for mips32
Aristov Maxim [Sat, 20 Oct 2012 02:57:07 +0000 (06:57 +0400)]
uClibc: Resolve conflicting options when building for mips32

Signed-off-by: Aristov Maxim <m@ximilian.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsdl: fix inconditional alsa disabling.
Denis 'GNUtoo' Carikli [Sat, 20 Oct 2012 17:21:54 +0000 (19:21 +0200)]
libsdl: fix inconditional alsa disabling.

Without that fix ALSA is inconditionally disabled,
  reguardless of the fact that alsa is in the distribution
  feature or not.

This patch has been tested on the om-gta04 target with both
  alsa distribution feature enabled(libsdl can then play sound),
  and disabled(it fails to play some sound trough alsa).

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_ipk.bbclass: Some extra spaces / tabs were removed / formated
Andrei Gherzan [Sun, 21 Oct 2012 15:40:43 +0000 (18:40 +0300)]
rootfs_ipk.bbclass: Some extra spaces / tabs were removed / formated

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorootfs_ipk.bbclass: Don't duplicate remove_packaging_data_files code
Andrei Gherzan [Sun, 21 Oct 2012 15:40:42 +0000 (18:40 +0300)]
rootfs_ipk.bbclass: Don't duplicate remove_packaging_data_files code

While removing packaging data files in rootfs_ipk_do_rootfs use the
remove_packaging_data_files function. By using this function we ensure
that /var/lib/opkg directory is created. opkg needs this directory to
create lock files.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: Don't print empty PROVIDES
Andrei Gherzan [Sun, 21 Oct 2012 15:40:41 +0000 (18:40 +0300)]
opkg: Don't print empty PROVIDES

Every package provides itself. While printing package information all
fields are printed only if there is any relevant info for them. For
example: a package with no "Replaces" won't get this printed at all.
Packages which provide only themselves, were printing this field but with
no values. This patch skips this field if the package provides only
itself.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: Add patch to fix removing packages with recommends
Andrei Gherzan [Sun, 21 Oct 2012 15:40:40 +0000 (18:40 +0300)]
opkg: Add patch to fix removing packages with recommends

While removing a package with opkg, the process shouldn't be blocked if
another package RECOMMENDS the package wanted to be removed. This is
because, while generating the dependencies, opkg adds dependencies to
depended_upon_by even if dependency's type is RECOMMEND. The fix is to
skip dependencies of type RECOMMEND while constructing depended_upon_by.

[YOCTO: #2431]

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane: add a check for Xorg driver ABI dependencies
Ross Burton [Mon, 22 Oct 2012 09:37:26 +0000 (10:37 +0100)]
insane: add a check for Xorg driver ABI dependencies

Now that xserver provides driver ABI names, all drivers should depend on the ABI
version that they have been built against.

All drivers that include xorg-driver-input.inc or xorg-driver-video.inc will get
these automatically, so this should only impact binary drivers.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-xorg: add runtime provides for the driver ABI version
Ross Burton [Mon, 22 Oct 2012 09:37:24 +0000 (10:37 +0100)]
xserver-xorg: add runtime provides for the driver ABI version

The xserver driver ABIs can and do change in a way that is unrelated to the
version of xserver, so it's entirely possible to build an image that has a
mismatch between the server ABI version and the version that the drivers were
built against.  xserver detects this and refuses to load the modules.

By adding RPROVIDEs to the xserver package that describe the ABI versions it has
(such as xorg-abi-video-13, xorg-abi-input-11), drivers can RDEPEND on the
version that they were built against.  This means that when the ABIs change,
there will be package dependency errors at image time instead of images that
build fine but don't work.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomtdev: New recipe for mtdev
Damien Lespiau [Mon, 22 Oct 2012 09:30:28 +0000 (10:30 +0100)]
mtdev: New recipe for mtdev

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocpan-base: Add more debug paths to FILES
Phil Blundell [Thu, 18 Oct 2012 22:19:27 +0000 (23:19 +0100)]
cpan-base: Add more debug paths to FILES

We seem to be mostly installing modules into vendor_perl nowadays.
Make sure that the .debug data from there is captured appropriately.

Also, expand ${PERLLIBDIRS} at the point of assignment so we don't
call the python again and again.

[RP: Fixup to whitespace]
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoatk: Update to 2.6.0
Daniel Stone [Mon, 22 Oct 2012 09:30:29 +0000 (10:30 +0100)]
atk: Update to 2.6.0

Newer Clutter releases want 2.5.3+, so upgrade to the stable 2.6.0.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage: Hardlink debug source to improve performance
Richard Purdie [Mon, 22 Oct 2012 10:39:33 +0000 (10:39 +0000)]
package: Hardlink debug source to improve performance

When copying the source files needed for the -dbg package, use hardlinks
where possible. This saves some disk space and hence helps performance
of the builds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxorg: remove XF86 BigFont extension
Ross Burton [Mon, 22 Oct 2012 08:31:43 +0000 (09:31 +0100)]
xorg: remove XF86 BigFont extension

This has been disabled by default upstream since 2007, nothing uses it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Do not chdir to /boot before running update-alternatives
Holger Hans Peter Freyther [Fri, 12 Oct 2012 18:01:16 +0000 (20:01 +0200)]
kernel.bbclass: Do not chdir to /boot before running update-alternatives

The symlink from uImage-3... to uImage is not created at image creation
time and not properly update on kernel upgrades. This is fixed by removing
the chdir. The other users of update-alternative do not change the directory
before calling it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-2.16: Use tar ball instead of svn SRC_URI
Khem Raj [Wed, 17 Oct 2012 21:59:43 +0000 (14:59 -0700)]
eglibc-2.16: Use tar ball instead of svn SRC_URI

Adapt the recipes to fetch a tarball.
Tarball is generated from latest 2.16 branch
which has e500-math_private.patch already applied
hence we remove that patch.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: Move perl- and bash-using scripts to separate recipes
Phil Blundell [Tue, 25 Sep 2012 12:56:41 +0000 (13:56 +0100)]
eglibc: Move perl- and bash-using scripts to separate recipes

This removes the dependency of eglibc.bb itself on perl and bash
which, in turn, eliminates the need to build those two recipes if the
scripts which need them are not going to be installed.

Also provide dummy do_evacuate_scripts() for all variants of eglibc-initial
otherwise the nativesdk and multilib variants might crash trying to
copy a non-existent mtrace script.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Exclude the PKGTRIPLETS variable
Richard Purdie [Mon, 22 Oct 2012 13:54:01 +0000 (13:54 +0000)]
package.bbclass: Exclude the PKGTRIPLETS variable

Without this, we'd rerun packaging for every machine since this variable contains
a machine specific component.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomultilib/clsextend: Improve handling of regexps in PACKAGES_DYNAMIC
Richard Purdie [Mon, 22 Oct 2012 12:20:04 +0000 (12:20 +0000)]
multilib/clsextend: Improve handling of regexps in PACKAGES_DYNAMIC

Now that PACKAGES_DYNAMIC is more standardised, starting with ^ anchors,
the variable manipulations performed by clsextend for multilib don't work.

This patch at least improves it to hack around the problem and enable
mulitlib builds to work again. If this code doesn't do the right thing, the
recipe is free to override the variable with the correct multilib case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: Improve handling of machine specific manifests
Richard Purdie [Fri, 19 Oct 2012 12:37:39 +0000 (12:37 +0000)]
sstate: Improve handling of machine specific manifests

Now do_package isn't machine specific, we're only left with do_populate_sysroot as a
machine specific task. This change marks only the machine specific manifests as machine
specific, defaulting to PACKAGE_ARCH for everything else.

This means we do less work where there are multiple machines using the same
core package architecture and we can start to clean up the sstate duplicate files
whitelist.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage.bbclass: Switch shlibs to pkgdata directory and make package non-machine...
Richard Purdie [Thu, 18 Oct 2012 23:08:53 +0000 (23:08 +0000)]
package.bbclass: Switch shlibs to pkgdata directory and make package non-machine specific

Currently, do_package is machine specific since the shlibs data is installed
into each machine specific sysroot. This change moves the shlibs data to the
pkgdata structure, at the expense of having to iterate over a set of shlibs
directories instead of a single one.

It turns out this isn't any particular hardship for the code and as a result,
do_package stops being machine specific leading to optimisations for builds
that use a common PACKAGE_ARCH.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/packagedata: Use the PKGMLTRIPLETS variable
Richard Purdie [Thu, 18 Oct 2012 23:08:21 +0000 (23:08 +0000)]
lib/oe/packagedata: Use the PKGMLTRIPLETS variable

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: Add PKGTRIPLETS and PKGMLTRIPLETS variables
Richard Purdie [Thu, 18 Oct 2012 23:06:31 +0000 (23:06 +0000)]
base.bbclass: Add PKGTRIPLETS and PKGMLTRIPLETS variables

These variables correspond to the PACKAGE_ARCH list combined with the TARGET_VENDOR
and TARGET_OS values. These can be used to traverse the pkgdata structure.

Setting these once in base.bbclass stops pkgdata needing to recalculate the values
and is also useful for the reworked shlibs code in a patch that will follow this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: Fix perl module dependency issues
Richard Purdie [Mon, 22 Oct 2012 08:43:19 +0000 (08:43 +0000)]
perl: Fix perl module dependency issues

With the move of the strict/vars/config/warnings modules to the main perl
recipe, we need to RPROVIDE those modules to ensure that package dependencies
on those modules continue to work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: add kernel-modules to PACKAGES
Martin Jansa [Tue, 16 Oct 2012 22:34:28 +0000 (00:34 +0200)]
kernel.bbclass: add kernel-modules to PACKAGES

* kernel-modules is always added to PACKAGES later in python code and
  needed to be defined as PACKAGES_DYNAMIC
* add it to PACKAGES directly and set
  ALLOW_EMPTY_kernel-modules
  FILES_kernel-modules
  DESCRIPTION_kernel-modules
  outside populate_packages_prepend like for other packages and set only
  RDEPENDS_kernel-modules from python code

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoPACKAGES_DYNAMIC: use += instead of = in most cases
Martin Jansa [Fri, 12 Oct 2012 10:46:39 +0000 (12:46 +0200)]
PACKAGES_DYNAMIC: use += instead of = in most cases

* to keep ${PN}-locale from
  bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoPACKAGES_DYNAMIC: use regexp not glob
Martin Jansa [Fri, 12 Oct 2012 10:46:38 +0000 (12:46 +0200)]
PACKAGES_DYNAMIC: use regexp not glob

* bitbake uses PACKAGES_DYNAMIC as regexp
  ^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
  * made all those last '-' optional, use .* (or nothing)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsole-tools: Fix build issues with make 3.82
Richard Purdie [Fri, 19 Oct 2012 16:34:41 +0000 (16:34 +0000)]
console-tools: Fix build issues with make 3.82

The intl directory is part of older gettext and has macros which no
longer get expanded with recent gettext versions. This simply removes
the intl directory from the equation since we'd never need it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: remove explicit version.h target
Bruce Ashfield [Thu, 18 Oct 2012 14:47:05 +0000 (10:47 -0400)]
kernel.bbclass: remove explicit version.h target

The compilation routine for the kernel has an explicit call to
build version.h, which works fine for most kernels, but the
location of it has recently changes.

commit d183e6f5 [UAPI: Move linux/version.h]
commit 10b63956 [UAPI: Plumb the UAPI Kbuilds into the user
                 header installation and checking]

moves the file to include/generated/linux/version.h and then to
include/generated/uapi/linux/version.h.

As a result kernel builds of 3.7 or bisection builds of intermediate
kernel commits will fail with:

  make[2]: *** No rule to make target `include/linux/version.h'.  Stop.

Making the explicit version.h build conditional on the version, or
via a file test would fix the problem, but it introduces some complexity
to the build.

Even without an explicit call to build version.h, it is always produced
by the kernel build, so it can simply be removed.

This extra make line was originally so that the kernel version could be
determined, so that then different instructions could be executed depending
on whether it was a 2.4 or 2.6 kernel. Since we no longer support 2.4, this
code is no longer needed.

[YOCTO: #3293]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoperl: fix dependecies
Robert Yang [Fri, 19 Oct 2012 11:22:04 +0000 (19:22 +0800)]
perl: fix dependecies

This patch fixes 2 problems.

The first one is that when run "perl -V" on target, it fails with lack
of some .pm files. So add these perl module files to package perl itself
to fix this failure.

The second problem is that package nativesdk-perl-modules doesn't depends
on the single perl modules.

In the .bb file, dependencies of perl-modules are set by:

RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"

The PACKAGES would be reset by do_split_packages since:

PACKAGES_DYNAMIC = "perl-module-*"
PACKAGES_DYNAMIC_virtclass-nativesdk = "nativesdk-perl-module-*"

Then:
1) The target perl-modules RRECOMMENDS on perl-module-*, this is what
   we expect.

2) But the nativesdk-perl-modules doesn't RRECOMMENDS on
   nativesdk-perl-module-*, this is not what we expect.

The value of PACKAGES after do_split_packages has been set correctly (it
contains the nativesdk-perl-module-* packages)

But the:

RRECOMMENDS_perl-modules = "${@d.getVar('PACKAGES', True)...}"

doesn't work correctly for nativesdk, the

d.getVar('RRECOMMENDS_perl-modules', True)

doesn't get the new value of the PACKAGES, it gets the value of PACKAGES
before the do_split_packages.

This patch will fix the problem.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:03:32 +0000 (13:03 +0000)]
bison: Fix gplv2 version to work with recent gettext

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:03:10 +0000 (13:03 +0000)]
diffutils: Fix gplv2 version to work with recent gettext

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosed: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:02:58 +0000 (13:02 +0000)]
sed: Fix gplv2 version to work with recent gettext

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogrep: Fix gplv2 version to work with recent gettext
Richard Purdie [Fri, 19 Oct 2012 13:02:49 +0000 (13:02 +0000)]
grep: Fix gplv2 version to work with recent gettext

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautotools: Use STAGING_DATADIR_NATIVE for config.rpath
Richard Purdie [Thu, 18 Oct 2012 15:58:25 +0000 (15:58 +0000)]
autotools: Use STAGING_DATADIR_NATIVE for config.rpath

For builds that don't use gettext, config.rpath may not exist in the target
datadir. This change uses the native directory where it will always
be present due to gettext-minimal-native (which allows us to autoreconf
recipes using gettext even if we don't have gettext built).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate: when warnings about sysroot overwrites, say what the recipe was
Ross Burton [Thu, 18 Oct 2012 09:49:59 +0000 (10:49 +0100)]
sstate: when warnings about sysroot overwrites, say what the recipe was

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogconf: Avoid error when trying to delete files that don't exist
Phil Blundell [Wed, 17 Oct 2012 22:25:17 +0000 (23:25 +0100)]
gconf: Avoid error when trying to delete files that don't exist

Use "rm -f" in do_install_append() so we don't fail if the files we're
trying to delete have already been removed.  This can happen if the
distro policy suppresses both static libs and .la files.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/qa: Trap exceptions when running objdump
Phil Blundell [Wed, 17 Oct 2012 20:34:58 +0000 (20:34 +0000)]
lib/oe/qa: Trap exceptions when running objdump

This avoids propagating a failure if we encounter an ELF file
that objdump can't parse for any reason.  Some versions and/or
configurations of objdump will refuse to read files for "the
wrong" architecture.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane: Don't try to run objdump on symlinks
Phil Blundell [Mon, 15 Oct 2012 10:28:00 +0000 (11:28 +0100)]
insane: Don't try to run objdump on symlinks

If the link is absolute then we might end up reading from a host binary
or a nonexistent path, neither of which will produce useful results and
may result in objdump failure and python backtrace spew.  If the link
does point to a binary within the installation root then we will scan the
pointed-to file at some point anyway so there is no need to do it again.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane: Rationalise phdrs-based QA checks
Phil Blundell [Mon, 1 Oct 2012 17:29:23 +0000 (18:29 +0100)]
insane: Rationalise phdrs-based QA checks

Various different QA checks are based on essentially the same data from
the ELF program headers.  Calling objdump to extract it repeatedly is
inefficient, particularly if the shell is involved.  Instead, let's
cache the output from objdump inside the qa.elf object and allow it to
be reused by multiple tests.

Also, using objdump instead of scanelf to check for bad RPATHs (in the
same way that the useless-rpaths check was doing already) allows the
dependency on pax-utils-native to be dropped.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agognome-icon-theme: update mapping program location
Saul Wold [Wed, 17 Oct 2012 16:36:42 +0000 (09:36 -0700)]
gnome-icon-theme: update mapping program location

When we changed the /usr/libexec default to be /usr/lib/<pn>,
the icon name mapping needed to be updated also.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agosato-icon-theme: update mapping program location
Saul Wold [Mon, 15 Oct 2012 22:19:11 +0000 (22:19 +0000)]
sato-icon-theme: update mapping program location

When we changed the /usr/libexec default to be
/usr/lib/<pn>, the icon name mapping needed to
be updated also.

(From OE-Core rev: 58b20de32f4b6ca684120d1b87a7aece2df6f0a6)

(From OE-Core rev: b3ff57c7a15c8509397d4b8e84410aab08ea4d1c)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu: don't ignore libexecdir in configure
Saul Wold [Wed, 17 Oct 2012 16:51:15 +0000 (09:51 -0700)]
qemu: don't ignore libexecdir in configure

This allow the relocation of libexecdir to be done correctly
for the qemu-brigde-helper.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoperf: set the perfexecdir
Saul Wold [Wed, 17 Oct 2012 16:47:51 +0000 (09:47 -0700)]
perf: set the perfexecdir

This allows the files installed into /usr/libexec to be
relocated to ${libexecdir}. removed unneded prefix=/usr,
which would prevent ${prefix} relocation.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoia32-base.inc: don't depend on mesa-dri
Ross Burton [Wed, 17 Oct 2012 11:23:32 +0000 (12:23 +0100)]
ia32-base.inc: don't depend on mesa-dri

mesa-dri is an empty package, so depending on it doesn't achieve anything.

Signed-off-by: Ross Burton <ross.burton@intel.com>
12 years agosysklogd: fix update-rc.d handling
Andy Ross [Thu, 11 Oct 2012 16:22:55 +0000 (09:22 -0700)]
sysklogd: fix update-rc.d handling

The sysklogd recipe had a cut-n-paste version of the
update-rc.d.bbclass code which didn't work, but this was hidden
because all images contain the busybox version which does.  Building a
busybox-free image unmasked the issue and syslogd wouldn't start on
first boot.

The comments seem to be wrong/stale.  AFAICT update-rc.d and
update-alternatives work fine with each other, though there is an
ordering constraint (alternatives must be specified last, so it
"wraps" update-rc.d).  This version builds and works both with and
without busybox.

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agopulseaudio: add missing switch-on-port-available dependency to the server
Ross Burton [Thu, 11 Oct 2012 15:18:50 +0000 (16:18 +0100)]
pulseaudio: add missing switch-on-port-available dependency to the server

The PulseAudio server recently added a dependency by default on the
switch-if-port-available module, but this was not enforced by the package
dependencies so the server won't start.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agolttng: support more compatible hosts
Vladimir Zapolskiy [Thu, 11 Oct 2012 14:12:34 +0000 (17:12 +0300)]
lttng: support more compatible hosts

THis change extends COMAPTIBLE_HOST matchings, which allows to include more
hosts with TARGET_OS like linux-gnuspe or linux-gnueabi etc.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agoqt4: use extra variable for more QT_CONFIG_FLAGS fragments
Martin Jansa [Fri, 12 Oct 2012 10:48:10 +0000 (12:48 +0200)]
qt4: use extra variable for more QT_CONFIG_FLAGS fragments

* qt4-embedded was forcing -DQT_KEYPAD_NAVIGATION which depends on feature-completer
* separate variable makes it easier to not enable QT_KEYPAD_NAVIGATION in some upper layer where we have disabled feature-completer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
12 years agogtk-doc.bbclass: Run gtkdocize in ${S} not ${B}
Phil Blundell [Thu, 11 Oct 2012 21:30:29 +0000 (22:30 +0100)]
gtk-doc.bbclass: Run gtkdocize in ${S} not ${B}

Otherwise it will fail if these two directories are not the same.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>