scm/bb/tizen-distro.git
12 years agopowertop: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:45:28 +0000 (16:45 -0700)]
powertop: cleanup update-alternatives deprecated code

(From OE-Core rev: 443473a88dd94a5fe0d6bc7a5d14d45ea5bbdec5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:33:36 +0000 (16:33 -0700)]
findutils: cleanup update-alternatives deprecated code

(From OE-Core rev: 5f8f9ff0413683d1a1f01fceaa709def723aca91)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils: refactor common code to findutils.inc
Saul Wold [Thu, 26 Jul 2012 23:29:45 +0000 (16:29 -0700)]
findutils: refactor common code to findutils.inc

(From OE-Core rev: 071a959d430402a78ca5b392c8387489da042c08)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:19:46 +0000 (16:19 -0700)]
diffutils: cleanup update-alternatives deprecated code

(From OE-Core rev: 47620d768194fd69a75f4c19d77dcbdd22eadcb6)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodiffutils: refactor to add a common diffutils.inc
Saul Wold [Thu, 26 Jul 2012 23:18:48 +0000 (16:18 -0700)]
diffutils: refactor to add a common diffutils.inc

(From OE-Core rev: f5f3cf1ac4c2dd3cae0cda3c858c8e5b309e1fdc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobc: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:43 +0000 (16:10 -0700)]
bc: cleanup update-alternatives deprecated code

(From OE-Core rev: 98a5fe8f5382742806235933910de826edc3d09a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoubootchart: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:10:04 +0000 (16:10 -0700)]
ubootchart: cleanup update-alternatives deprecated code

(From OE-Core rev: 744fb15df985e74adbb2b03e4543c2fd66adee86)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopatch: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:09:19 +0000 (16:09 -0700)]
patch: cleanup update-alternatives deprecated code

(From OE-Core rev: 6a76ad8a45b4e099703c051d759f687904442713)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotinylogin: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:08:20 +0000 (16:08 -0700)]
tinylogin: cleanup update-alternatives deprecated code

(From OE-Core rev: fc408785ed2b9be00b25a725e666f6428292a418)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokbd: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:07:40 +0000 (16:07 -0700)]
kbd: cleanup update-alternatives deprecated code

(From OE-Core rev: 8240556c40a499aff5a405de3e28e1ed749e8ef5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoconsole-tools: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 23:06:24 +0000 (16:06 -0700)]
console-tools: cleanup update-alternatives deprecated code

(From OE-Core rev: 91799f66dcc9f2ba43f16f756a861e0b08e2d340)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomini-x-session: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:55:30 +0000 (15:55 -0700)]
mini-x-session: cleanup update-alternatives deprecated code

(From OE-Core rev: 6e344e2564456a366682a423d4f061f5d93b2137)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:55:23 +0000 (15:55 -0700)]
openssh: cleanup update-alternatives deprecated code

(From OE-Core rev: 11c169a9b289b0412e512c37d380a99fd1630df5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorxvt-unicode: cleanup update-alternatives deprecated code
Saul Wold [Thu, 26 Jul 2012 22:53:47 +0000 (15:53 -0700)]
rxvt-unicode: cleanup update-alternatives deprecated code

(From OE-Core rev: 0dc9024cb6e5f75f5b568b42b03925c413093f4e)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorxvt-unicode: remove setting of LD_LIBRARY_PATH
Saul Wold [Tue, 14 Aug 2012 09:27:47 +0000 (12:27 +0300)]
rxvt-unicode: remove setting of LD_LIBRARY_PATH

This is no longer needed as we do not run tic at install time

(From OE-Core rev: c73ab3c1ef27af0577617b0d992da535958b0aed)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpmresolve: Ensure we call the rpm relocation code at init
Richard Purdie [Tue, 14 Aug 2012 08:28:00 +0000 (09:28 +0100)]
rpmresolve: Ensure we call the rpm relocation code at init

We need to call rpmcliInit to ensure the rpm relocation code is called
and it correctly honours the relocation environmental variables.

We can drop the ReadConfigFiles call since the cliInit does this for us.

(From OE-Core rev: eb17fdc1461953382360635480f12357eac4dc43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocreaterepo: add wrapper script to fix paths
Paul Eggleton [Mon, 13 Aug 2012 18:58:00 +0000 (18:58 +0000)]
createrepo: add wrapper script to fix paths

Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

python: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2753].

(From OE-Core rev: b5028cc84ad7c40c51cadbdf7fdc892cde4462cb)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorpmresolve: add wrapper script to fix paths
Paul Eggleton [Mon, 13 Aug 2012 18:54:32 +0000 (18:54 +0000)]
rpmresolve: add wrapper script to fix paths

Fixes sstate relocation due to the path to /etc/rpm being baked into the
libraries - this manifested in the form of the following assertion at
runtime:

rpmresolve: dbconfig.c:493: db3New: Assertion `dbOpts != ((void *)0) && *dbOpts != '\0'' failed.

Fixes [YOCTO #2936].

(From OE-Core rev: 44c2fb7ea0228dd749129d334c76a1bd2983e585)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agowatchdog: fix SRC_URI _ -> -
Saul Wold [Thu, 9 Aug 2012 12:05:06 +0000 (12:05 +0000)]
watchdog: fix SRC_URI _ -> -

(From OE-Core rev: 3d27ee3da296b57b6bc702431437e635c53697f7)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu.inc: disable curl for qemu-nativesdk
Robert Yang [Mon, 13 Aug 2012 13:01:16 +0000 (21:01 +0800)]
qemu.inc: disable curl for qemu-nativesdk

We had added the --disable-curl to EXTRA_OECONF, but there is an
EXTRA_OECONF_virtclass-nativesdk += "foo", the
"EXTRA_OECONF_virtclass-nativesdk +=" equals to
"EXTRA_OECONF_virtclass-nativesdk =" (the "+" has no effect here), so we
should add the "--disable-curl" to EXTRA_OECONF_virtclass-nativesdk.

And change the "+=" to "=" to not confuse people.

[YOCTO #2305]

(From OE-Core rev: a69df1807af3e099685b766dac4d6c6919b01852)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofoomatic: fix perl path for target
Saul Wold [Wed, 8 Aug 2012 08:56:24 +0000 (11:56 +0300)]
foomatic: fix perl path for target

This problem appears on F17 when configure finds /bin/perl, since the beh
script is a target side script, we need to set PERL in the do_configure_prepend
in order for the correct perl to be used

(From OE-Core rev: 5290e82ecef08b5e573d7442627276d7b42c6b93)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoautomake: Fix version reference in path substitutions
Richard Purdie [Tue, 7 Aug 2012 22:34:17 +0000 (22:34 +0000)]
automake: Fix version reference in path substitutions

Without this the substitutions don't get made potentially resulting in a variety of
different failures.

(From OE-Core rev: 1e873271362b770381903098d46c4aec164d81de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels too
Richard Purdie [Tue, 7 Aug 2012 22:21:38 +0000 (22:21 +0000)]
linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels too

(From OE-Core rev: b033000900ef2082a2d2d2be3e36b6b813309902)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels too
Richard Purdie [Tue, 7 Aug 2012 22:21:22 +0000 (22:21 +0000)]
linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels too

(From OE-Core rev: 6b4ed64c04bbeb019192a7db1f77cfd002281be4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: Enable threaded linking with gold
Khem Raj [Tue, 7 Aug 2012 21:26:21 +0000 (14:26 -0700)]
binutils: Enable threaded linking with gold

This options will let gold spawn multiple
threads for linking and speeding up linking
on multicore build hosts.

(From OE-Core rev: 210957a58260ec50416649aba799d0e96aeeff24)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopackage-index: Remove the python hack, its not needed after the pythonnative changes
Richard Purdie [Tue, 7 Aug 2012 22:05:57 +0000 (22:05 +0000)]
package-index: Remove the python hack, its not needed after the pythonnative changes

(From OE-Core rev: 247330b515a1f19189e97f3832242c1c965c2782)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Disable use of sdt.h header
Richard Purdie [Tue, 7 Aug 2012 21:29:00 +0000 (21:29 +0000)]
gcc: Disable use of sdt.h header

The target sysroot might contain sdt.h but we don't list this in DEPENDS
and shouldn't be referencing it. Unfortunately there is no way to tell
configure this since these tests are uncached and we can't force
a particular value. The only option is therefore to patch this out.

(From OE-Core rev: 1409d9b9690e39ecc63aacfdd5785586d83633ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiputils: Break libsysfs dependency
Andy Ross [Mon, 6 Aug 2012 19:41:04 +0000 (12:41 -0700)]
iputils: Break libsysfs dependency

iputils drops a /bin/arping with a runtime linkage against libsysfs in
/usr.  Port Fedora 17 iputils-20071127-infiniband.patch, which inlines
access previously done by libsysfs.

(From OE-Core rev: 99c482124e9f476923f6d5cf0a9e5551507f9d14)

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINE
Darren Hart [Mon, 6 Aug 2012 15:56:13 +0000 (08:56 -0700)]
linux-yocto-custom: Clarify usage and clear COMPATIBLE_MACHINE

There has been some confusion over proper use of the linux-yocto-custom
recipe. It is not intended to build as is from meta-skeleton. It should
be modified via a bbappend file to provide a Linux kernel config at the
very least.

Update the commentary to make this requirement more explicit. Add some
additional detail about how to create a bbappend file and how and when
to modify the various variables.

Clear COMPATIBLE_MACHINE so bitbake will not attempt to build the recipe
unless the user explicitly adds there machine to the variable, which
should encourage them to read the recipe comments before attempting to
build it.

(From OE-Core rev: 8ac3d0566e793777ec4f6629ef752d6db6231ca9)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoimage-mklibs: pass correct libdir to mklibs
Jesse Zhang [Tue, 7 Aug 2012 02:31:57 +0000 (10:31 +0800)]
image-mklibs: pass correct libdir to mklibs

libdir should be specified, or else mklibs won't work for 64bit targets.
It wouldn't be able to find the libs.

    Traceback (most recent call last):
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 553, in <module>
        header = elf_header(find_lib(libraries.copy().pop()))
      File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 89, in elf_header
        raise Exception("Cannot find lib: " + obj)
    Exception: Cannot find lib:

(From OE-Core rev: d2cd2ccea8bc4d110647ba3bd202772e5407000a)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix RPATH QA issue on non-gplv3 builds
Richard Purdie [Tue, 7 Aug 2012 11:18:13 +0000 (12:18 +0100)]
python: Fix RPATH QA issue on non-gplv3 builds

On non-gplv3 builds, gdbm gets built different due to the different version
which triggers a different codepath in python's db support and then hence
triggers an invalid RPATH QA issue. This change extends the appropriate patch
to cover the code paths we need it to cover and avoid adding the problematic
RPATH.

(From OE-Core rev: 90540692c40719b757b80bdc6e78e679a3df83a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto-3.4: Disable extra slang header search path
Richard Purdie [Tue, 7 Aug 2012 11:17:16 +0000 (12:17 +0100)]
linux-yocto-3.4: Disable extra slang header search path

Add in a workaround to avoid host infection detection build failures
from the slang include directory in perf. I'll defer to Bruce to
fix this properly but we need a workaround now as this is breaking
builds.

(From OE-Core rev: 4fd4b2eafb5f4ff2ef85d7f5ff3238a41c34313b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firmware: Ensure PR goes forward, not backwards after the revert
Richard Purdie [Tue, 7 Aug 2012 11:35:55 +0000 (12:35 +0100)]
linux-firmware: Ensure PR goes forward, not backwards after the revert

(From OE-Core rev: 447819db343a93bcc1e079c2a33b592da20f6c1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoRevert "linux-firware: use ${base_libdir} instead of /lib for packaging"
Richard Purdie [Tue, 7 Aug 2012 10:16:54 +0000 (11:16 +0100)]
Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"

This change breaks firmware loading on 64 bit platforms. This therefore
reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: Revert ${base_libdir} change
Richard Purdie [Sun, 5 Aug 2012 19:48:44 +0000 (19:48 +0000)]
kernel.bbclass: Revert ${base_libdir} change

The base_libdir change in 5b8a4798ea2ea7df66bb53c26448251ea7da3dd9
breaks the kernel build for 64 bit machines. Revert this part of the
change.

(From OE-Core rev: 351bdc59f8af915ae203af7799eedc0ce42785f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernelshark: Inherit pythonnative
Richard Purdie [Tue, 7 Aug 2012 09:54:40 +0000 (09:54 +0000)]
kernelshark: Inherit pythonnative

(From OE-Core rev: 2b23cd1c8f81de989bce1ecab2d5b4328328de86)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdb-cross: Explicitly disable python
Richard Purdie [Tue, 7 Aug 2012 08:30:27 +0000 (08:30 +0000)]
gdb-cross: Explicitly disable python

Python isn't in DEPENDS but can be autodetected from the sysroot. Explicitly
disable it to ensure deterministic builds.

(From OE-Core rev: b8dd9592f844d15cdc8631b56ec42888a07826c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosubversion: Add missing build dependency on sqlite3
Bogdan Marinescu [Mon, 30 Jul 2012 13:22:24 +0000 (16:22 +0300)]
subversion: Add missing build dependency on sqlite3

subversion needs an explicit dependency on sqlite3, otherwise it
does not build. Tested by building core-image-minimal.

(From OE-Core rev: 47aca0f0f79c30d1df1f89c710d3e354f436145d)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agofindutils-4.4.2: add bison-native to DEPENDS
Xin Ouyang [Mon, 30 Jul 2012 12:25:30 +0000 (20:25 +0800)]
findutils-4.4.2: add bison-native to DEPENDS

[YOCTO #2858]

(From OE-Core rev: 09a023e777b1e05b3edbec2bc49232042f6bf088)

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobison: updated to 2.5.1
Bogdan Marinescu [Mon, 30 Jul 2012 13:51:17 +0000 (16:51 +0300)]
bison: updated to 2.5.1

The gets patch is not needed anymore in this version. The
manpage patch was updated for this version.

(From OE-Core rev: 2f11d409e20d90f2d619b4d92495c3fcd30584ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory: reduce the numeric delta to 10%
Ross Burton [Mon, 30 Jul 2012 12:18:07 +0000 (13:18 +0100)]
buildhistory: reduce the numeric delta to 10%

(From OE-Core rev: f6effbf62351761430438cfcce285c982271239c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory: correctly handle reductions of numeric fields
Ross Burton [Mon, 30 Jul 2012 12:18:06 +0000 (13:18 +0100)]
buildhistory: correctly handle reductions of numeric fields

(From OE-Core rev: 94fffb92e6a7a8021fb1acb06b9c4218703e23b2)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpam: disable NIS to not link with libtirpc when it is available
Marcin Juszkiewicz [Fri, 3 Aug 2012 08:21:30 +0000 (10:21 +0200)]
libpam: disable NIS to not link with libtirpc when it is available

I was checking ways to make incremental builds faster so I started using
sstate-cache and SSTATE_MIRRORS. But this gave me some nasty bug:

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies
for php-cgi:
|  *    libtirpc1 (>= 0.2.2) *
|  * opkg_install_cmd: Cannot install package php-cgi.

I checked details:

In my previous build libtirpc got built before libpam so libpam found it
and linked. As a result packages depend on libtirpc1 but as there is no
such build dependency sstate handling code did not used libtirpc copy...

(From OE-Core rev: e629bdcd1bcb51f2d2101fb53daeac0bd29ab637)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogthumb: fix parallel build problems
Ross Burton [Tue, 31 Jul 2012 17:17:06 +0000 (18:17 +0100)]
gthumb: fix parallel build problems

It's possible with a parallel build for make to spin waiting for a file change
when it isn't going to.  Fix the build rules so this doesn't happen.

[YOCTO #2319]

(From OE-Core rev: dea6a0eb2bf06b3dc47e276a046d8dd828e47228)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobabeltrace: Update to upstream stable versrion 0.12
Radu Moisan [Tue, 31 Jul 2012 13:30:00 +0000 (16:30 +0300)]
babeltrace: Update to upstream stable versrion 0.12

Latest version is 1.0.0 but in rc4 for now.

(From OE-Core rev: 6172f1fed9850180a3a84ca62cc0741d132031e4)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoatk: package update 2.2 -> 2.4
Radu Moisan [Tue, 31 Jul 2012 12:52:47 +0000 (15:52 +0300)]
atk: package update 2.2 -> 2.4

(From OE-Core rev: 9202bc255eb6867b4b6dd1c0850c70a4d0f1fb76)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/package: don't make locale pkgs depend on PN pkg if not in PACKAGES
Paul Eggleton [Tue, 31 Jul 2012 11:33:01 +0000 (12:33 +0100)]
classes/package: don't make locale pkgs depend on PN pkg if not in PACKAGES

If ${PN} is not in PACKAGES then don't add it as an RDEPENDS for each
locale package. This fixes the installation of gcc-runtime locale
packages, for example.

(From OE-Core rev: d36c3235b3022c07f064929f55114f808a7634f6)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: save metadata revisions
Paul Eggleton [Thu, 2 Aug 2012 09:23:09 +0000 (10:23 +0100)]
classes/buildhistory: save metadata revisions

Always write the metadata revisions for each layer into a machine-
readable "metadata-revs" file so that you can potentially link changes
in the output back to changes in the metadata. (Unlike the existing
similar build-id file, this is not specific to image changes.)

(From OE-Core rev: 45f38d167b523d769c072474b36b3d9b31b4e9d9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: ignore removal of self-dependencies
Paul Eggleton [Thu, 2 Aug 2012 09:23:08 +0000 (10:23 +0100)]
buildhistory_analysis: ignore removal of self-dependencies

The recent removal of self-dependencies for dbg/dev packages produced
a fair amount of noise, so filter it out since we know this is a
reasonable change.

(From OE-Core rev: 3ec608462e4cb1eb77b6addbae1bda84fd76e4d2)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: tidy up duplicate split_version function
Paul Eggleton [Thu, 2 Aug 2012 09:23:07 +0000 (10:23 +0100)]
buildhistory_analysis: tidy up duplicate split_version function

This function is now provided by bb.utils and since we have now bumped
the minimum bitbake version, we can switch to that one instead.

(From OE-Core rev: 67a4d15f0a8032190e92026677150162a492a053)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: record PKG/PKGE/PKGV/PKGR
Paul Eggleton [Thu, 2 Aug 2012 09:23:05 +0000 (10:23 +0100)]
classes/buildhistory: record PKG/PKGE/PKGV/PKGR

Save PKG (the actual output package name, which is often different due
to debian renaming), and PKGE/PKGV/PKGR (which may be manipulated in
certain special cases e.g. gitpkgv.bbclass in meta-oe, the
external-sourcery-toolchain recipe, etc.) Note that these are only
written when they are different from the normal package name in the
case of PKG, or PE/PV/PR for the other variables.

Also, use PKGE/PKGV/PKGR instead of PE/PV/PR when comparing package
versions since these actually represent the version that the package
manager sees.

Implements [YOCTO #2787].

(From OE-Core rev: 65d7e9b2d4d8115ac9fd513c04f39a2df9556a5a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: save preinst/postinst/prerm/postrm
Paul Eggleton [Thu, 2 Aug 2012 09:23:04 +0000 (10:23 +0100)]
classes/buildhistory: save preinst/postinst/prerm/postrm

Write the value of these package script variables into the packageinfo
so that any changes to them can be tracked (in separate files since they
are multi-line).

Inspired by an earlier patch from Andreas Müller <schnitzeltony@googlemail.com>

(From OE-Core rev: 988a417c857c01c87de6ba9602968059cf8d830f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: remove unused functions
Paul Eggleton [Thu, 2 Aug 2012 09:23:03 +0000 (10:23 +0100)]
classes/buildhistory: remove unused functions

getlastrecipeversion and readRecipeInfo weren't called anywhere.
Remove them so we don't have to keep them up-to-date with future
additions to the recipe info file.

(From OE-Core rev: 22bf6284576ccee607d7bd197420a29242df11c0)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: ensure old package info is removed
Paul Eggleton [Thu, 2 Aug 2012 09:23:02 +0000 (10:23 +0100)]
classes/buildhistory: ensure old package info is removed

If a package is removed from PACKAGES, ensure that the package info file
and directory are removed from buildhistory so that we don't have stale
data lying around.

(From OE-Core rev: 223b183197b363edef0c11a25bad33555fca5a15)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/buildhistory: remove obsolete flat package history feature
Paul Eggleton [Thu, 2 Aug 2012 09:23:01 +0000 (10:23 +0100)]
classes/buildhistory: remove obsolete flat package history feature

Remove the ability to set BUILDHISTORY_KEEP_VERSIONS = "1" to save the
package history as flat versioned files rather than relying on git to
keep previous versions of the package information. git has proven to
work quite well in this capacity.

(From OE-Core rev: ccedfd250620fc562988ba730ad5717b107a9d3e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocurl: disable ldap/ldaps explicitly
Martin Jansa [Mon, 6 Aug 2012 11:57:04 +0000 (13:57 +0200)]
curl: disable ldap/ldaps explicitly

* openldap from meta-oe is autodetected and then libldap-2.4-2 runtime dependency added to curl and almost all meta-efl recipes

(From OE-Core rev: 666b67179d4492e4d950b94457ebf8cac6454f7d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: Use 'require' instead of 'include'
Damien Lespiau [Thu, 2 Aug 2012 16:49:01 +0000 (17:49 +0100)]
mesa: Use 'require' instead of 'include'

These include files are really required, not optional.

(From OE-Core rev: 1aa6c4a083e406de0119f92e9654068d6cc2e4de)

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 agomesa: Update to 8.0.4 (latest stable version)
Damien Lespiau [Thu, 2 Aug 2012 16:49:00 +0000 (17:49 +0100)]
mesa: Update to 8.0.4 (latest stable version)

- The license file has changed, but the project still has the same
  license
- Patches have been rebased on top of the 8.0 branch. crossfix.patch
  and crossfix-mklib.patch have been merged as they address the same
  problem

(From OE-Core rev: e4039eb74b20e96d4b8837cd58cf2d13d091e1ad)

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 agomesa: enable the Graphic Buffer Manager library
Ross Burton [Thu, 2 Aug 2012 16:48:59 +0000 (17:48 +0100)]
mesa: enable the Graphic Buffer Manager library

(From OE-Core rev: be882417cf432fe79a843cea4439503f286206cf)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: add --enable-shared-glapi, and package it in libglapi
Ross Burton [Thu, 2 Aug 2012 16:48:58 +0000 (17:48 +0100)]
mesa: add --enable-shared-glapi, and package it in libglapi

(From OE-Core rev: d856f4c18425b9e3e5a0898d7f29cffc1998ca12)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: move glu.pc to libglu-dev
Ross Burton [Thu, 2 Aug 2012 16:48:57 +0000 (17:48 +0100)]
mesa: move glu.pc to libglu-dev

(From OE-Core rev: 98975edaff2cc4cc417dee2c7c530e602ff2e4cc)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: format the packages list nicely
Ross Burton [Thu, 2 Aug 2012 16:48:56 +0000 (17:48 +0100)]
mesa: format the packages list nicely

(From OE-Core rev: ca9c3f57c72f443b9efe5f0bd5cb9a7bb169ed30)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomesa: no need to depend on python-native, the class does that
Ross Burton [Thu, 2 Aug 2012 16:48:55 +0000 (17:48 +0100)]
mesa: no need to depend on python-native, the class does that

(From OE-Core rev: dd2a11fa262ced8e9f06413e69bbe1cb1b3e538b)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-firware: use ${base_libdir} instead of /lib for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:45 +0000 (21:48 +0200)]
linux-firware: use ${base_libdir} instead of /lib for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: ce2665b6ae77770d69ffbc4d45c96ce829d16738)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokernel.bbclass: use ${base_libdir} and ${sysconfdir} instead of /lib and /etc
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:44 +0000 (21:48 +0200)]
kernel.bbclass: use ${base_libdir} and ${sysconfdir} instead of /lib and /etc

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: c859717f522098e7c68df578d59011f68122dc2c)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsb: use ${base_bindir} and ${sysconfdir} instead of /bin and /etc
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:39 +0000 (21:48 +0200)]
lsb: use ${base_bindir} and ${sysconfdir} instead of /bin and /etc

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 8b94cd639c02bcc653312575592673c36df0ec92)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agousbinit: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:52 +0000 (21:48 +0200)]
usbinit: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 3068d5c44667bc238f2331d36cb116403560c83f)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbinitscripts: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:51 +0000 (21:48 +0200)]
lsbinitscripts: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 3fce22d81cc27629c7c3fd4c174b68c8ced468cf)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorsync: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:54 +0000 (21:48 +0200)]
rsync: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: bc45d990938c1b1d761cee6e90464d22f854a2ab)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoman: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:56 +0000 (21:48 +0200)]
man: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: e044be34601dcc8eeca7f96d628964bebf562e2e)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agochkconfig: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:55 +0000 (21:48 +0200)]
chkconfig: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 7b77d4372ace6aa2400e3328875b39b4f67476d0)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemu-config: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:53 +0000 (21:48 +0200)]
qemu-config: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 998b94adbbc0f0f036c5816fbf6ee594dba90c1c)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxserver-nodm-init: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:50 +0000 (21:48 +0200)]
xserver-nodm-init: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: aada9260af9dcac42c21e189fdf6698e509c26a4)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuilder: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:49 +0000 (21:48 +0200)]
builder: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 43a7286ed5f628f04597ce7e4bea0d91bc95b09b)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agox11-common: use ${sysconfdir} instead of /etc for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:48 +0000 (21:48 +0200)]
x11-common: use ${sysconfdir} instead of /etc for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 5082056a4671570ca4578da2f622b3cc6f9f2dda)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibpam: use ${localstatedir} and ${sysconfdir} instead of /var and /etc
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:47 +0000 (21:48 +0200)]
libpam: use ${localstatedir} and ${sysconfdir} instead of /var and /etc

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 7556e60bf23c07646594a1704b3db7dfc29e631d)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopenssh: use ${localstatedir} instead of /var for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:46 +0000 (21:48 +0200)]
openssh: use ${localstatedir} instead of /var for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: b7134e8f76026d15a5e35c6a2e5d77d5e48c2787)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoat: Use variables from the environment to override the makefile defaults
Richard Purdie [Mon, 6 Aug 2012 13:35:20 +0000 (14:35 +0100)]
at: Use variables from the environment to override the makefile defaults

This allows us to remove the docdir worksarounds and fixes other
potential relocation issues at the same time as cleaning up the
recipe.

(From OE-Core rev: 3be575babcdb12f95f4882d3c42bdf3ba1ec1900)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomingetty: use ${base_sbindir} instead of /sbin for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:40 +0000 (21:48 +0200)]
mingetty: use ${base_sbindir} instead of /sbin for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: f8f33550f5cc263673cbd481a567116514603b8d)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosystemtap: use ${datadir} instead of /usr/share for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:38 +0000 (21:48 +0200)]
systemtap: use ${datadir} instead of /usr/share for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 095f9c056373a252c0ba2679d8e6f4ad932a958d)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxkeyboard-config: use ${datadir} instead of /usr/share for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:37 +0000 (21:48 +0200)]
xkeyboard-config: use ${datadir} instead of /usr/share for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: c0ebcac02023705aead0d2588224a62d64fe1752)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoubootchart: use variables instead of hardcoded paths
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:36 +0000 (21:48 +0200)]
ubootchart: use variables instead of hardcoded paths

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 73ee5587a46751ed39a181b3ff2a12d4a3086c21)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd-example: use ${datadir} instead of /usr/share for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:35 +0000 (21:48 +0200)]
useradd-example: use ${datadir} instead of /usr/share for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: b93a9dadc9a2754d4e33929bda8dba46dd20b694)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocronie: use variables instead of hardcoded paths
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:34 +0000 (21:48 +0200)]
cronie: use variables instead of hardcoded paths

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 7b13be661c869eb4bf88d16a928a97edd5bc203b)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbtest: use ${bindir} instead of /usr/bin for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:33 +0000 (21:48 +0200)]
lsbtest: use ${bindir} instead of /usr/bin for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 0a8003a3542d17332488ca715619990b222ceb71)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosudo: use ${bindir} and ${sysconfdir} instead of /usr/bin and /etc
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:32 +0000 (21:48 +0200)]
sudo: use ${bindir} and ${sysconfdir} instead of /usr/bin and /etc

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: a9c73d9d3dd5f7fbee82d7ed3cb88a80aa3cbfbd)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolsbsetup: use ${bindir} instead of /usr/bin for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:31 +0000 (21:48 +0200)]
lsbsetup: use ${bindir} instead of /usr/bin for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 84fd332ab2f2c512109fc0a080d03533883fa235)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoalsa-state: use ${sbindir} instead of /usr/sbin for packaging
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:30 +0000 (21:48 +0200)]
alsa-state: use ${sbindir} instead of /usr/sbin for packaging

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 72fd0993d8643d7ca52d954d65395585fdf34b03)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxinetd: use ${sbindir} and ${sysconfdir} instead of /usr/sbin and /etc
Javier Martinez Canillas [Sun, 5 Aug 2012 19:48:29 +0000 (21:48 +0200)]
xinetd: use ${sbindir} and ${sysconfdir} instead of /usr/sbin and /etc

It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 6f0eebbd12d79a86dd4a79f87b6be4758439a3f5)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopython: Fix to support the python module _bsddb built with db 5.3
Jackie Huang [Sat, 4 Aug 2012 13:14:08 +0000 (21:14 +0800)]
python: Fix to support the python module _bsddb built with db 5.3

_bsddb module in python 2.7 could be built only with db version
between 4.1 and 4.7. A patch was added to avoid build warning
about this for [YOCTO #1937] but not actually fixed it.

This patch enable _bsddb module be built with db 5.3, and remove
--disable-statistics from the DB5_CONFIG to fix segmentation fault
when using _bsddb module in python.

[YOCTO #2749]

(From OE-Core rev: 11267f8a1ccf65142988b095351a84b0fa0fcbcf)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopsplash: Update to latest psplash version
Franklin S Cooper Jr [Fri, 3 Aug 2012 23:47:02 +0000 (18:47 -0500)]
psplash: Update to latest psplash version

* Update to the latest version of psplash which fixes a segmentation fault
  bug

(From OE-Core rev: 662637decc23888c9b0da93807257943bab14583)

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoglib-2.0-nativesdk: Add dependency on glib-2.0-native
Khem Raj [Sat, 4 Aug 2012 04:58:20 +0000 (21:58 -0700)]
glib-2.0-nativesdk: Add dependency on glib-2.0-native

when we build for nativesdk it needs tools from installed
glib-2.0-dev package. We zeroes out compile_resourses but
then genmarshal came up so instead of going about disabling
them one by one lets depend on glib-2.0-native since
thats the right thing to do.

(From OE-Core rev: 5416bf849ceefb49f06bedfa5e67595e9c68582a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopopulate_sdk_rpm.bbclass: Depend do_populate_sdk task on createrepo-native
Khem Raj [Sat, 4 Aug 2012 04:58:21 +0000 (21:58 -0700)]
populate_sdk_rpm.bbclass: Depend do_populate_sdk task on createrepo-native

Now that we have moved the rpm-createsolvedb.py
script to createrepo-native for good reason of
python-native dependency, we have to make sure
that it is staged before its used, unlike before
where it was under scripts/ dir and always existed
outside the realm of package management.

Fixes build error when doing meta-toolchain builds from
scratch

|
/home/kraj/yocto/poky/build/tmp/work/ppc64e5500-poky-linux/meta-toolchain-1.0-r7/temp/run.populate_sdk_image.26712:
line 610: rpm-createsolvedb.py: command not found
| DEBUG: Python function do_populate_sdk finished
| ERROR: Function failed: populate_sdk_image (see
/home/kraj/yocto/poky/build/tmp/work/ppc64e5500-poky-linux/meta-toolchain-1.0-r7/temp/log.do_populate_sdk.26712
for further information)

(From OE-Core rev: 90cfe33d30ef4f9491bd52e7965c5279a2e2650c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-locale: bump PR after fc4b138948656d482603b80f8c8e86fdbb185df4
Martin Jansa [Sun, 5 Aug 2012 09:24:44 +0000 (11:24 +0200)]
eglibc-locale: bump PR after fc4b138948656d482603b80f8c8e86fdbb185df4

(From OE-Core rev: 17685eb72f335f53caf3cadaadcf479d394f8792)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: exclude whole MACHINEOVERRIDES from OVERRIDES vardeps
Martin Jansa [Mon, 23 Jul 2012 14:25:09 +0000 (16:25 +0200)]
bitbake.conf: exclude whole MACHINEOVERRIDES from OVERRIDES vardeps

* whole MACHINEOVERRIDES can change e.g. between MACHINES with different arm architecture, causing allarch packages to reexecute do_package
  bitbake-diffsigs ../shr-core/tmp-eglibc/stamps/all-oe-linux/xserver-nodm-init-2.0-r16.do_package.sigdata.90e760a8f6cecbd87cb2e95f1237e3cc ../shr-core/tmp-eglibc/stamps/all-oe-linux/xserver-nodm-init-2.0-r16.do_package.sigdata.9eeccfd15f25032b3b6b132534660fff
  basehash changed from 7618e17d3fda05d1f15246e6800ca0f0 to 97bc4dc8c1521c535bd96b2aa62d8a03
  Variable MACHINEOVERRIDES value changed from ${MACHINE}${@bb.utils.contains("TUNE_FEATURES", "armv5", ":armv5", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}:${MACHINE_CLASS} to ${MACHINE}${@bb.utils.contains("TUNE_FEATURES", "armv7a", ":armv7a", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv5", ":armv5", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}:${MACHINE_CLASS}

(From OE-Core rev: d205aa2b42a4676b1ba587c0375cd6ac7e18e9ce)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqt4-native: fix creating /include directory in build host root
Martin Jansa [Sun, 5 Aug 2012 13:50:46 +0000 (15:50 +0200)]
qt4-native: fix creating /include directory in build host root

* same fix as
  http://git.openembedded.org/openembedded-core/commit/?id=7d3fd68480d54a8ef0d91a772df3506cd45ef2c2
  is needed for native too

(From OE-Core rev: 7f7f42769cfae509ca5366715d2d4fd9ef5c4784)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcl: Add ${bindir_crossscripts}/tclConfig.sh to sysroot stage
Jackie Huang [Mon, 6 Aug 2012 07:05:44 +0000 (15:05 +0800)]
tcl: Add ${bindir_crossscripts}/tclConfig.sh to sysroot stage

tclConfig.sh is changed in do_install for cross compile and
is installed to STAGING_BINDIR_CROSS, but if SSTATE_DIR is set
and tcl is from sstage, tclConfig.sh can't be found in
STAGING_BINDIR_CROSS, add ${bindir_crossscripts}/tclConfig.sh
to sysroot stage can fix it.

[YOCTO #2891]

(From OE-Core rev: 7a97abb3f1c2ff8fd2dc7c59f866430cf99ab82d)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogdk-pixbuf: fix parallel install issue
Wenzong Fan [Fri, 3 Aug 2012 03:30:21 +0000 (11:30 +0800)]
gdk-pixbuf: fix parallel install issue

This patch fixes parallel install issue that lib libpixbufloader-png.la
depends on libgdk_pixbuf-2.0.la which will be regenerated during insta-
llation, if libgdk_pixbuf-2.0.la is regenerating and at the same time
libpixbufloader-png.la links it, the error will happen.

Error message is:
* usr/bin/ld: cannot find -lgdk_pixbuf-2.0
* collect2: ld returned 1 exit status

Make an explicit dependency to the libs install targets would fix this
issue.

[YOCTO #2883]

(From OE-Core rev: e6fb5a25a098bd639be4b176f58e552404232c93)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobusybox: fix du-k-works test case
Roy.Li [Mon, 6 Aug 2012 02:50:01 +0000 (10:50 +0800)]
busybox: fix du-k-works test case

[YOCTO #2896]

The du-k-works test seems to assume that du -k on a directory with two files
totaling 80 kilobytes should report either 80k or 88k. In ext4 filesystm however,
both busybox' du -k and coreutils' du -k reports a size of 84k which causes the
test to fail.

Intergrate the patch from:
http://git.busybox.net/busybox/commit/?id=a5ee090e8651692545514a81a16c6cde3a2dc577

(From OE-Core rev: a022fb6b69388f28f3130e71125b64e4c154d504)

Signed-off-by: Roy.Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross-initial: Ensure it uses an isolated sysroot
Richard Purdie [Mon, 6 Aug 2012 11:13:06 +0000 (11:13 +0000)]
gcc-cross-initial: Ensure it uses an isolated sysroot

If we don't do this, a stale limits.h may be detected in STAGING_DIR_TARGET
which would result in a different limits.h getting generated by gcc-cross-initial
that references it. The referenced limits.h will then not get found by eglibc-initial
causing rather strange build failures.

The simplest solution is to create a temporary sysroot containing only the things
gcc-cross-initial should care about and this results in a correct limits.h file
regardless of what else may have been built.

(From OE-Core rev: 9c304eae0724474902fe2f3150adc6af115af9ba)

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