scm/bb/tizen-distro.git
12 years agouseradd: Ensure dependencies are only added for target recipes, not native or nativesdk
Richard Purdie [Fri, 27 Jan 2012 16:59:37 +0000 (16:59 +0000)]
useradd: Ensure dependencies are only added for target recipes, not native or nativesdk

(From OE-Core rev: 63d006b2d3fc2223c74f81b91f70f5c841108c80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking_fields: fix the typos in the field of maintainer.
Shane Wang [Fri, 27 Jan 2012 07:54:57 +0000 (15:54 +0800)]
distro_tracking_fields: fix the typos in the field of maintainer.

(From OE-Core rev: fba0459da7f274ae284d36b7fdbf2f9d10a52610)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool 2.4.2: fix missing quote in FILES_libtldtl
Koen Kooi [Fri, 27 Jan 2012 08:21:29 +0000 (09:21 +0100)]
libtool 2.4.2: fix missing quote in FILES_libtldtl

The missing quote prohibits OE from packaging it correctly, leading to:

|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome:
|  *    libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *   libltdl7 (>= 2.4.2) *

for incremental builds and binary feeds.

(From OE-Core rev: ed6968b731e8ebc161fa59e18a9284bddf86c61b)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: Add explict setscene dependencies to ensure correct ordering of...
Richard Purdie [Thu, 26 Jan 2012 19:13:07 +0000 (19:13 +0000)]
useradd.bbclass: Add explict setscene dependencies to ensure correct ordering of setscene tasks

(From OE-Core rev: ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: Ensure pseudo can load in the pseudo unloaded case
Richard Purdie [Thu, 26 Jan 2012 12:51:04 +0000 (12:51 +0000)]
useradd.bbclass: Ensure pseudo can load in the pseudo unloaded case

In the do_populate_sysroot_setscene case, pseudo has been unloaded and we need
to reload it. This code change ensures all the pseudo options are specified
so pseudo loads correctly.

It also improves some of the comments so all the different contexts are listed.

(From OE-Core rev: 76345cd61c9523ce6755ef8e923dec37800b7a98)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouseradd.bbclass: Execute user addition code before do_package_setscene, not after...
Richard Purdie [Thu, 26 Jan 2012 14:41:51 +0000 (14:41 +0000)]
useradd.bbclass: Execute user addition code before do_package_setscene, not after do_populate_sysroot_setscene

The user addition needs to happen before the do_package files are extracted
by do_package_setscene since those are the ones we need to preserve the file
ownership information for. This patch ensures this happens.

(From OE-Core rev: 34282c1b996ef008384af456735692d66ddabc13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosstate.bbclass: Add support for sstate preinst functions
Richard Purdie [Thu, 26 Jan 2012 14:40:56 +0000 (14:40 +0000)]
sstate.bbclass: Add support for sstate preinst functions

(From OE-Core rev: f2b0a71b3100a0d2ceb80300d7f3823a31eb907a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqueue.py: Add inter setscene task dependency handling
Richard Purdie [Thu, 26 Jan 2012 20:09:08 +0000 (20:09 +0000)]
runqueue.py: Add inter setscene task dependency handling

This is being added to resolve setscene race issues where we do have
particular dependencies required between setscene tasks. This allows
specific dependencies to be specified. This allows us to fix the races
in sstate with the useradd class in OE-Core.

Any tasks being depended upon have their reverse dependencies cleared to
ensure we don't have circular references.

(Bitbake rev: e1b157d26374a70e6274edcb4c0b9f3bc48f765c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agorunqueue.py: Fix missing setscene dependencies
Richard Purdie [Thu, 26 Jan 2012 12:53:21 +0000 (12:53 +0000)]
runqueue.py: Fix missing setscene dependencies

When constructing the setscene inter-dependencies, we need to account for all task,
not just the last one found. This patch corrects this oversight and ensures all
dependencies are added, not just the first one found.

(Bitbake rev: b9b5b5129d066e1ff7d3effda116afc3c6657beb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodata/runqueue.py: Fix commented out test code after variable name changes
Richard Purdie [Thu, 26 Jan 2012 12:52:04 +0000 (12:52 +0000)]
data/runqueue.py: Fix commented out test code after variable name changes

(Bitbake rev: 175c5c8a5e51365aa127562e8598e84f5cd36495)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow-sysroot: Simplfy login.defs installation
Richard Purdie [Thu, 26 Jan 2012 12:42:58 +0000 (12:42 +0000)]
shadow-sysroot: Simplfy login.defs installation

Currently if shadow-sysroot is installed from a sstate package,
shadow_sysroot_sstate_postinst is looking in ${D} for login.defs which
isn't a valid for an install from sstate.

The easiest and most correct way to fix this is to override the standard
sysroot_stage_all function to install the files correctly and then
sstate installs work as expected. This simplifies the code as an added
bonus.

(From OE-Core rev: 6437e7315a0f2e077f9d69e4b65b48280ea8edbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: Add INSANE_SKIP of staticdev for libgcc-dev and libgcov-dev
Saul Wold [Wed, 25 Jan 2012 19:29:39 +0000 (11:29 -0800)]
libgcc: Add INSANE_SKIP of staticdev for libgcc-dev and libgcov-dev

Skip the staticdev QA test since the static archives belong
with the -dev.

(From OE-Core rev: 3de810a7f745b253d4b63eea353a31514d64a2e3)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinsane.bbclass: Add test for static .a libraries in non-staticdev packages
Saul Wold [Wed, 25 Jan 2012 19:29:38 +0000 (11:29 -0800)]
insane.bbclass: Add test for static .a libraries in non-staticdev packages

This check verifies that non staticdev and non pic packages do not
have static libraries in them. There are a few exceptions for the
libgcc-dev and libgcov-dev packages which are whitelisted, also the
*_nonshared.a need to be part of their respective -dev packages.

This is currently a warning to work out any other issues in the upper
layers but will be moved to ERROR at somepoint in the future.

[YOCTO #663]

(From OE-Core rev: 4f31eb53fb0b1bfdf8be05356e57df607a6e82a9)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopm-utils: Add grep to RDEPENDS to avoid command failures.
Marc Ferland [Wed, 25 Jan 2012 21:18:48 +0000 (16:18 -0500)]
pm-utils: Add grep to RDEPENDS to avoid command failures.

Second version of the patch that adds grep to RDEPENDS.

Fixes [YOCTO #1887]

(From OE-Core rev: 6d4ff87b935d61aae63260262c0f48fe7e9d2a48)

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-tools: don't build perf when GPLv3 in INCOMPATIBLE_LICENSE
Joshua Lock [Tue, 24 Jan 2012 22:10:30 +0000 (14:10 -0800)]
linux-tools: don't build perf when GPLv3 in INCOMPATIBLE_LICENSE

As binutils is required by perf to build and is GPLv3 licensed adding
GPLv3 to INCOMPATIBLE_LICENSE will cause linux-yocto to be skipped.

Long term we should look at moving perf to a separate recipe but as a
short term solution this patch will ensure that when GPLv3 is in
INCOMPATIBLE_LICENSE perf is not built and it's dependencies are not
added to build.

Fixes [YOCTO #1879]

(From OE-Core rev: ce61f9031b54067bffa304dab90c31278631dcdf)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc-git: Update to latest RC
Khem Raj [Tue, 24 Jan 2012 17:43:00 +0000 (09:43 -0800)]
uclibc-git: Update to latest RC

Document the patches

(From OE-Core rev: 746e8ffa66850bf9050cd6baf94eb76c492eb535)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc-2.15: Add upstream status for x86_fenv.patch
Khem Raj [Tue, 24 Jan 2012 17:42:59 +0000 (09:42 -0800)]
eglibc-2.15: Add upstream status for x86_fenv.patch

(From OE-Core rev: 64a8f93cb6a7cd86f966b8f53227246deebce3a0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agouclibc: Dont package all .a in uclibc-dev
Khem Raj [Tue, 24 Jan 2012 17:42:58 +0000 (09:42 -0800)]
uclibc: Dont package all .a in uclibc-dev

only *_nonshared.a are to be packaged in uclibc-dev
rest can go into uclibc-staticdev

(From OE-Core rev: aa799ba49833bdf6acbcd4b34f0605050c938175)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-linux: Change SRC_URI to a fetchable location
Khem Raj [Tue, 24 Jan 2012 17:43:01 +0000 (09:43 -0800)]
util-linux: Change SRC_URI to a fetchable location

(From OE-Core rev: 140ca6f3e690f34940fd60809f2d03fabb27105d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: Update recipe and fix building on uclibc
Khem Raj [Tue, 24 Jan 2012 17:42:55 +0000 (09:42 -0800)]
ltp: Update recipe and fix building on uclibc

(From OE-Core rev: 4e8644584aa8826e9cbf9ff0dc23b8c395978013)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro-tracking-fields: update entries for clutter-gst-1.8
Joshua Lock [Tue, 24 Jan 2012 23:26:36 +0000 (15:26 -0800)]
distro-tracking-fields: update entries for clutter-gst-1.8

(From OE-Core rev: 5801f480b74465696389783dc651ec48ff42e715)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclutter-gst: update to 1.4.6
Joshua Lock [Tue, 24 Jan 2012 23:26:33 +0000 (15:26 -0800)]
clutter-gst: update to 1.4.6

(From OE-Core rev: a440654076008a107fff2245eff7791a4abf5abf)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocogl: update upstream status for build_for_armv4t.patch
Joshua Lock [Tue, 24 Jan 2012 23:26:35 +0000 (15:26 -0800)]
cogl: update upstream status for build_for_armv4t.patch

This has patch has been merged into upstreams git repository and will be
available in the next stable release.

(From OE-Core rev: 77f5e99a821ad30b859a402bdc55c495741b24cc)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-cross: Don't reference machine specific variables
Richard Purdie [Tue, 24 Jan 2012 17:09:30 +0000 (17:09 +0000)]
gcc-cross: Don't reference machine specific variables

gcc-cross is installed into a package architecture specific directory
and is not meant to be machine specific. This patch replaces MACHINE_ARCH
with PACKAGE_ARCH to ensure this is really the case.

This was found by examining sstate checksums.

(From OE-Core rev: b3ca57418f47b16ed0a63d3291bf7d31e3ca5a45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobootimg: Fix a math thinko in the block count calculation
Darren Hart [Wed, 25 Jan 2012 05:20:54 +0000 (21:20 -0800)]
bootimg: Fix a math thinko in the block count calculation

Fixes [YOCTO #1852] ... again.

The conversion from sectors to blocks was multiplying by 2 instead
of dividing by 2. Blocks are 1024 bytes, sectors are 512 bytes. The
result was images being much larger than intended.

Reported-by: Tom Zanussi <tom.zanussi@intel.com>
(From OE-Core rev: b35384fa3ca96b31c63d764322215abced2066e4)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures
Richard Purdie [Tue, 24 Jan 2012 17:11:14 +0000 (17:11 +0000)]
lib/oe/sstatesig.py: Exclude common machine specific dependencies from task signatures

Where we have machine specific recipes with well defined behaviour, it makes
no sense to rebuild recipes with these as dependencies whenever the machine
changes. This patch lists those well behaved recipes and excludes them from
the task signatures so we can change MACHINE without invalidating existing
PACKAGE_ARCH binaries.

(From OE-Core rev: 07e34778fc74126af1380bf249fd34a5e3df12c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoshadow: Split securetty into a separate recipe
Richard Purdie [Tue, 24 Jan 2012 14:33:37 +0000 (14:33 +0000)]
shadow: Split securetty into a separate recipe

The securetty file is machine specific whilst the rest of the shadow recipe
is not. Unfortunately making the recipce machine specific is both inefficient
and also causes dependency problems since parts of the system such as the useradd
code depend upon it and this introduces a machine specific element to sstate
checksums which should not be machine specific.

To resolve this, this patch separates out the file into a separate recipe
meaning the machine specific components are isolated.

(From OE-Core rev: 318133b5202632c6957c2aade22b1ef7af929f23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-common.inc: Fix comment
Richard Purdie [Tue, 24 Jan 2012 14:38:31 +0000 (14:38 +0000)]
gcc-common.inc: Fix comment

(From OE-Core rev: a4a98b6d6273d4e716afbff0880d0ac2ff7be0a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-common.inc: Ensure WORKDIR doesn't adversly affect sstate checksums
Richard Purdie [Tue, 24 Jan 2012 12:14:19 +0000 (12:14 +0000)]
gcc-common.inc: Ensure WORKDIR doesn't adversly affect sstate checksums

Changes in WORKDIR were changing the do_patch stamps between gcc-crosssdk
and gcc-cross. This excludes the variable since in this case, we don't
need want those changes to affect the signatures.

(From OE-Core rev: 0de85d2ca3bc9674323302a35995dfddb6044a71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoguile: fix a quote in description
Nitin A Kamble [Fri, 20 Jan 2012 19:49:11 +0000 (11:49 -0800)]
guile: fix a quote in description

(From OE-Core rev: 29118b57c7804a237e0c8fef41fcf032476bfb10)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoltp: disable elf binary stripping
Nitin A Kamble [Fri, 20 Jan 2012 18:11:10 +0000 (10:11 -0800)]
ltp: disable elf binary stripping

Otherwise the ltp tests ldd01 & nm01 fail due to missing stripped
information.

This Fixes these bugs:
[YOCTO #1922]
[YOCTO #1923]

(From OE-Core rev: 075266fa8bf12719c58a21c75a35fede5608dcdf)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking.inc: update the info for recipes upgraded recently
Shane Wang [Sun, 22 Jan 2012 11:33:18 +0000 (19:33 +0800)]
distro_tracking.inc: update the info for recipes upgraded recently

This patch is to update the information for the recipes upgraded recently, including strace, pciutils, ed, ofono, iproute2, bluez4, bluez-hcidump, kexec-tools, tremor, iptables, polkit, libxcb, xcb-proto, pixman and util-macros.

And add the new recipe for mobile-broadband-provider-info, which is depended on by ofono v1.3.

(From OE-Core rev: 10b255bd881e6f63c7eb7140aa798fcb2093db89)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsoup: update its info in distro_tracking.inc
Shane Wang [Sun, 22 Jan 2012 09:23:59 +0000 (17:23 +0800)]
libsoup: update its info in distro_tracking.inc

(From OE-Core rev: 01ed085b6b2be063ee9249f3ad3f3c03bd19490b)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agostrace: upgrade to 4.6
Shane Wang [Sun, 22 Jan 2012 09:19:29 +0000 (17:19 +0800)]
strace: upgrade to 4.6

(From OE-Core rev: 2b81cf3d76241572c299a0a58a3d0ca022bef9a0)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopciutils: upgrade to 3.1.9
Shane Wang [Sun, 22 Jan 2012 09:12:37 +0000 (17:12 +0800)]
pciutils: upgrade to 3.1.9

(From OE-Core rev: 745bdcd3421747b050493079101f6f5ba7830daf)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoed: upgrade to 1.6
Shane Wang [Sun, 22 Jan 2012 08:56:25 +0000 (16:56 +0800)]
ed: upgrade to 1.6

This patch is to upgrade ed to 1.6, and the change of license checksum is because

the diff between two ed.h files:

3c3,4
<     Copyright (C) 1993, 1994, 2006, 2007, 2008, 2009, 2010

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoofono: upgrade to 1.3
Shane Wang [Sun, 22 Jan 2012 08:30:14 +0000 (16:30 +0800)]
ofono: upgrade to 1.3

This patch is to upgrade ofono to 1.3 and the v1.3 ofono depends on mobile-broadband-provider-info.

(From OE-Core rev: d691b150d1222a23422658d6dc4b72a3307bc77f)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agomobile-broadband-provider-info: bring a new recipe into poky
Shane Wang [Sun, 22 Jan 2012 08:31:48 +0000 (16:31 +0800)]
mobile-broadband-provider-info: bring a new recipe into poky

This patch is to bring a new recipe mobile-broadband-provider-info into poky because the latest version ofono v1.3 depends on it.

And the patch is imported from the OpenEmbedded server (http://git.openembedded.org/openembedded/tree/recipes/mobile-broadband-provider-info) as of commit ids

commit 9d612c4bb9bef813bdef9e198efc5949d51905eb
commit 84bf98dc6876ef6be8a4ee3744924e922253b53e
commit 30a913149de95ecafe4ef87bd50cfdbd6737fe1e
commit 7d2be53866d317bb032c63548f504f63107b4c2c

And upgrade to the latest.

(From OE-Core rev: 851299c8dd2bf8012078a2c78f79dc1b9fdc3323)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiproute2: upgrade to 3.2.0
Shane Wang [Sun, 22 Jan 2012 08:01:11 +0000 (16:01 +0800)]
iproute2: upgrade to 3.2.0

This patch is to upgrade iproute2 to tag 3.2.0.
And the tag is not fully testd by the upstream and has build error.
We use the next commit of tag 3.2.0 which fixs the error.

(From OE-Core rev: f2a7b225b5a243e0a364be678a71bdc3b0fa99e0)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez4: upgrade to 4.98
Shane Wang [Sun, 22 Jan 2012 07:08:09 +0000 (15:08 +0800)]
bluez4: upgrade to 4.98

(From OE-Core rev: 8d3188a4a69214f23d8b7f8d972bdd35f574196b)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobluez-hcidump: upgrade to 2.2
Shane Wang [Sun, 22 Jan 2012 07:11:59 +0000 (15:11 +0800)]
bluez-hcidump: upgrade to 2.2

(From OE-Core rev: cfa2e9ef3f52f8956d05c2b12ca9984fc08ef238)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agokexec-tools: upgrade to 2.0.3
Shane Wang [Sun, 22 Jan 2012 06:53:56 +0000 (14:53 +0800)]
kexec-tools: upgrade to 2.0.3

This patch is to upgrade kexec-tools to 2.0.3.
And since fix_for_compiling_with_gcc-4.6.0.patch is there in 2.0.3, it is removed.

(From OE-Core rev: aea75907ff0ad11b7a17910f74491278e55bbc10)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotremor: upgrade to 18163 (20120122)
Shane Wang [Sun, 22 Jan 2012 06:27:31 +0000 (14:27 +0800)]
tremor: upgrade to 18163 (20120122)

(From OE-Core rev: 67ae9bbbab31b69f37e3ee0c1c969e43da034699)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoiptables: upgrade to 1.4.12.2
Shane Wang [Sat, 21 Jan 2012 14:27:32 +0000 (22:27 +0800)]
iptables: upgrade to 1.4.12.2

This patch is to upgrade iptables to 1.4.12.2, and introduce a patch not to check unknown symbols.
Otherwise, when it is compiled, it will report "libxtables.so.7" from LD_PRELOAD cannot be preloaded.

(From OE-Core rev: 27ed7024cf2ee9c9f84246fd931bc390cb638851)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopolkit: upgrade to 0.104
Shane Wang [Sat, 21 Jan 2012 14:19:02 +0000 (22:19 +0800)]
polkit: upgrade to 0.104

Upgrade polkit to 0.104.
And fix the typo for "endline" and the checksum.

(From OE-Core rev: a04c89e4e2a5f98716001ba9e5e25b21323f4606)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxcb: upgrade to 1.8
Shane Wang [Sat, 21 Jan 2012 13:48:39 +0000 (21:48 +0800)]
libxcb: upgrade to 1.8

(From OE-Core rev: d10c9e9a5f83bdd744a8e5ac6bed504404c92ecf)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoxcb-proto: upgrade to 1.7
Shane Wang [Sat, 21 Jan 2012 13:40:37 +0000 (21:40 +0800)]
xcb-proto: upgrade to 1.7

Upgrade xcb-proto from 1.6 to 1.7
Since xcb-proto-libdir.patch is there, the file is removed.

(From OE-Core rev: 15780c7d7bb5d242aa688c1c1d9842a1004222d9)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agopixman: upgrade to 0.24.2
Shane Wang [Sat, 21 Jan 2012 13:24:12 +0000 (21:24 +0800)]
pixman: upgrade to 0.24.2

(From OE-Core rev: 897828ae798ac84d1a0a1a929ddb62807f5fb3f4)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoutil-macros: upgrade to 1.16.1
Shane Wang [Sat, 21 Jan 2012 13:05:57 +0000 (21:05 +0800)]
util-macros: upgrade to 1.16.1

(From OE-Core rev: cae171c3017af47896df4752992fefe2161211d4)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: move shared .a to their own package
Saul Wold [Mon, 23 Jan 2012 00:40:53 +0000 (16:40 -0800)]
gcc: move shared .a to their own package

Keep the *_nonshared.a in the libgcc-dev package as
required for linking, moved the other *.a libraries
into their respective packages (libstdc++ and libssp).

(From OE-Core rev: c2838d949ffd15282c72551b40c5fd81d0db1fa0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibgcc: Seperate out libgcov.a from libgcc-dev
Saul Wold [Mon, 23 Jan 2012 00:39:34 +0000 (16:39 -0800)]
libgcc: Seperate out libgcov.a from libgcc-dev

libgcov.a is moved to it's own libgcov-dev package, instead
of being part of libgcc-dev.

(From OE-Core rev: a82a3f8ec55e68a003420549392d638e565562fc)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobinutils: refactor packages for staticdev
Saul Wold [Sat, 21 Jan 2012 00:07:48 +0000 (16:07 -0800)]
binutils: refactor packages for staticdev

(From OE-Core rev: 42b2996a58635483aa111ba4c61f71740d8294f5)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoeglibc: refactor packages for staticdev
Saul Wold [Sat, 21 Jan 2012 00:07:38 +0000 (16:07 -0800)]
eglibc: refactor packages for staticdev

(From OE-Core rev: bdf64c5e7ca2268b095405208407f95e1ba41488)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 22:11:34 +0000 (14:11 -0800)]
opkg: refactor packages for staticdev

(From OE-Core rev: 01bc511d772a47e34b2071393651a915c8ddb1b0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoopkg: move common code & metadata into opkg.inc to reduce code duplication
Saul Wold [Fri, 20 Jan 2012 19:05:16 +0000 (11:05 -0800)]
opkg: move common code & metadata into opkg.inc to reduce code duplication

(From OE-Core rev: da70cc9f33845d62943afc78168e56931d0a9b15)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotcp-wrappers: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 17:05:27 +0000 (09:05 -0800)]
tcp-wrappers: refactor packages for staticdev

(From OE-Core rev: 391bc0715ee7fb3391f0719b2515fcf0bee9c4ad)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosyslinux: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 17:05:17 +0000 (09:05 -0800)]
syslinux: refactor packages for staticdev

(From OE-Core rev: 256b610b0ba679a14d0348db95ef8bce21ddc8a0)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibtool: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 17:05:09 +0000 (09:05 -0800)]
libtool: refactor packages for staticdev

(From OE-Core rev: 63bfddf162cea836748e56da1488de56758d0418)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogstreamer: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 07:10:57 +0000 (23:10 -0800)]
gstreamer: refactor packages for staticdev

(From OE-Core rev: 66c348403d2289ad9a4d95ee3f3aaf8088593e82)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotiff: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 07:11:09 +0000 (23:11 -0800)]
tiff: refactor packages for staticdev

(From OE-Core rev: 93135c19b9574d952aaf8a4b97425640b847847a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agompeg2dec: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 07:11:24 +0000 (23:11 -0800)]
mpeg2dec: refactor packages for staticdev

(From OE-Core rev: 6d59ffeb45062b46fbfecf898f76183d73798331)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapr-util: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 07:11:37 +0000 (23:11 -0800)]
apr-util: refactor packages for staticdev

(From OE-Core rev: 40aeac840516f33f57134ac25fb046f6d2e43534)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosqlite3: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 07:11:46 +0000 (23:11 -0800)]
sqlite3: refactor packages for staticdev

(From OE-Core rev: 6c642cf6b8aadfa3d1e9299c135f9cfc6abdd162)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibxft: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 07:10:41 +0000 (23:10 -0800)]
libxft: refactor packages for staticdev

(From OE-Core rev: 165bac5be2555727ae475a4fbcc02c53712578da)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosysfsutils: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 07:12:17 +0000 (23:12 -0800)]
sysfsutils: refactor packages for staticdev

(From OE-Core rev: 216333723b126a7e727b01e7074900e5bb339440)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolibsoup: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 00:44:30 +0000 (16:44 -0800)]
libsoup: refactor packages for staticdev

(From OE-Core rev: 5a44b3aa50bb4bff652af5e6835a6707bba1104a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoaugeas: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 00:44:17 +0000 (16:44 -0800)]
augeas: refactor packages for staticdev

(From OE-Core rev: 4c1a1eb9a646dfebeb031a29baba1055065a0148)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoavahi-ui: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 00:43:52 +0000 (16:43 -0800)]
avahi-ui: refactor packages for staticdev

(From OE-Core rev: abdbf82de718468da3963cae2b9717b72480d66a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoapmd: refactor packages for staticdev
Saul Wold [Fri, 20 Jan 2012 00:43:36 +0000 (16:43 -0800)]
apmd: refactor packages for staticdev

(From OE-Core rev: 0f32aea7b133743020f5f91ff7d2d595ad1c5f86)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoFix Upstream-Status entries
Saul Wold [Thu, 19 Jan 2012 19:39:56 +0000 (11:39 -0800)]
Fix Upstream-Status entries

(From OE-Core rev: 0cd9314ef95168ba5452a01ed8d923585c8d54ae)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodocumentation-audit.sh: remove COMMERCIAL_LICENSE warning
Tom Zanussi [Sat, 31 Dec 2011 19:57:16 +0000 (13:57 -0600)]
documentation-audit.sh: remove COMMERCIAL_LICENSE warning

COMMERCIAL_LICENSE no longer exists; the equivalent functionality is
now has been replaced by LICENSE_FLAGS_WHITELIST, so replace the
COMMERCIAL_LICENSE warning with a similarly equivalent warning.

(From OE-Core rev: 64e1db588bcb7b66b08097c0ea443bd4406422d3)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodefault-distrovars.inc: remove COMMERCIAL_LICENSE et al
Tom Zanussi [Sat, 31 Dec 2011 19:51:54 +0000 (13:51 -0600)]
default-distrovars.inc: remove COMMERCIAL_LICENSE et al

The global COMMERCIAL_LICENSE mechanism has been obsoleted by
per-recipe LICENSE_FLAGS, so remove the related variables.

(From OE-Core rev: a66fdbda548fab367cada035c49a32d9bf8ea528)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobase.bbclass: replace COMMERCIAL_LICENSE code with LICENSE_FLAGS code
Tom Zanussi [Sat, 31 Dec 2011 19:46:26 +0000 (13:46 -0600)]
base.bbclass: replace COMMERCIAL_LICENSE code with LICENSE_FLAGS code

The COMMERCIAL_LICENSE mechanism has been superseded by LICENSE_FLAGS
so remove the code that implements COMMERCIAL_LICENSE and replace it
with the corresponding LICENSE_FLAGS version.

(From OE-Core rev: 3735716996ec11691054d7f03db873afde89b143)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd LICENSE_FLAGS to packages mentioned in COMMERCIAL_LICENSE
Tom Zanussi [Fri, 6 Jan 2012 00:41:21 +0000 (18:41 -0600)]
Add LICENSE_FLAGS to packages mentioned in COMMERCIAL_LICENSE

Per-recipe LICENSE_FLAGS replace the global COMMERCIAL_LICENSE list;
add LICENSE_FLAGS varables to each the recipes mentioned in that list:

     - lame
     - gst-fluendo-mp3
     - gst-openmax
     - gst-plugins-ugly
     - libmad
     - libomxil
     - mpeg2dec
     - qmmp

(From OE-Core rev: 43410523a07d9eb52a7d57ae3dc1cc320cbbc6f9)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolicense.bbclass: add support for LICENSE_FLAGS
Tom Zanussi [Sat, 31 Dec 2011 19:06:39 +0000 (13:06 -0600)]
license.bbclass: add support for LICENSE_FLAGS

LICENSE_FLAGS are a per-recipe replacement for the COMMERCIAL_LICENSE
mechanism.

In the COMMERCIAL_LICENSE mechanism, any package name mentioned in the
global COMMERCIAL_LICENSE list is 'blacklisted' from being included in
an image.  To allow the blacklisted package into the image, the
corresponding packages need to be removed from the COMMERCIAL_LICENSE
list.  This mechanism relies on a global list defined in
default-distrovars.inc.

The LICENSE_FLAGS mechanism essentially implements the same thing but
turns the global blacklist into a per-recipe whitelist.  Any recipe
can optionally define one or more 'license flags'; if defined, each of
the license flags defined for a recipe must have matching entries in a
global LICENSE_FLAGS_WHITELIST variable.

The definition of 'matching' is simple, but there are a couple things
users need to know in order to correctly and effectively use it.
Before we test a flag against the whitelist, we append _${PN} to it,
thus automatically making each LICENSE_FLAG recipe-specific.  We then
try to match that string against the whitelist.  So if the user
specifies LICENSE_FLAGS = 'commercial' for recipe 'foo', the string
'commercial_foo' should be specified in the whitelist in order for it
to match.

However, the user can also broaden the match by putting any
'_'-separated beginning subset of a LICENSE_FLAG in the whitelist,
which will also match e.g. simply specifying 'commercial' in the
whitelist would match any expanded LICENSE_FLAG starting with
'commercial' such as 'commercial_foo' and 'commercial_bar' which are
the strings that would have been automatically generated if those
recipes had simply specified LICENSE_FLAGS = 'commercial'

This allows for a range of specificity for the items in the whitelist,
from more general to perfectly specific.  So users have the choice of
exhaustively enumerating each license flag in the whitelist to allow
only those specific recipes into the image, or of using a more general
string to pick up anything matching just the first component(s).

Note that this scheme works even if the flag already has _pn appended
- the extra _pn is redundant, but doesn't affect the outcome e.g. a
license flag of 'commercial_1.2_foo' would turn into
'commercial_1.2_foo_foo' and would match both the general 'commercial'
and the specific 'commercial_1.2_foo' as expected (it would also match
commercial_1.2_foo_foo' and 'commercial_1.2', which don't make much
sense as far as something a user would think of specifying in the
whitelist).  For a versioned string, the user could instead specify
'commercial_foo_1.2', which would turn into 'commercial_foo_1.2_foo',
but which would as expected allow the user to pick up this package
along with anything else 'commercial' by specifying 'commercial' in
the whitelist, or anything with a 'commercial_foo' license regardless
of version by using 'commercial_foo' in the whitelist, or
'commercial_foo_1.1' to be completely specific about package and
version.

The current behavior of COMMERCIAL_LICENSE is replicated as mentioned
above by having the current set of COMMERCIAL_LICENSE flags
implemented using LICENSE_FLAGS = "commercial".

That being the case, the current COMMERCIAL_LICENSE can equivalently
be specified in the new scheme by putting the below in local.conf:

 # This is a list of packages that require a commercial license to ship
 # product. If shipped as part of an image these packages may have
 # implications so they are disabled by default.  To enable them,
 # un-comment the below as appropriate.
 #LICENSE_FLAGS_WHITELIST = "commercial_gst-fluendo-mp3 \
 #                           commercial_gst-openmax \
 #                           commercial_gst-plugins-ugly \
 #                           commercial_lame \
 #                           commercial_libmad \
 #                           commercial_libomxil \
 #                           commercial_mpeg2dec \
 #                           commercial_qmmp"

The above allows all of the current COMMERCIAL_LICENSE packages in -
to disallow a particular package from appearing in the image, simply
remove it from the whitelist.  To allow them all in, you could also
specify LICENSE_FLAGS_WHITELIST = "commercial".

(From OE-Core rev: a2760661b8c7a4a1b6f2e556853b3a9ae38cbcb5)

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocore-image-foo: add description to each image bb file
Shane Wang [Fri, 20 Jan 2012 05:46:06 +0000 (13:46 +0800)]
core-image-foo: add description to each image bb file

Add DESCRIPTION to each image bb file according to poky reference manual for Hob2 use later.

(From OE-Core rev: 05a7c022e613f35de8ce47bb667140a7ce47fcea)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: remove space from shebang, just cosmetics
Martin Jansa [Mon, 23 Jan 2012 09:02:07 +0000 (10:02 +0100)]
initscripts: remove space from shebang, just cosmetics

* at least in initscripts it's consistent now

(From OE-Core rev: 20d5effcf192d469883b5ac899cbd2340b71bd2c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoinitscripts: add shebang where it was missing completely
Martin Jansa [Mon, 23 Jan 2012 09:02:06 +0000 (10:02 +0100)]
initscripts: add shebang where it was missing completely

(From OE-Core rev: d58fc7a3ccede8706bf6a6aa7f7301f716128db8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoqemuimage-testlib: rename qemuppc image
Saul Wold [Tue, 24 Jan 2012 01:43:35 +0000 (17:43 -0800)]
qemuimage-testlib: rename qemuppc image

A recent set of changes changed the kernel name from bzImage to vmlinux,
this test needs to change also.

(From OE-Core rev: f11f03b27bd0bf41bcb45d0589d9982d006474d2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolinux-yocto/qemuppc: fix console and ethernet
Bruce Ashfield [Mon, 23 Jan 2012 17:54:32 +0000 (12:54 -0500)]
linux-yocto/qemuppc: fix console and ethernet

Two issues are fixed with this commit, the ability to use the keyboard
on a graphical qemu boot and enabling ethernet by default on a 3.0
kernel.

The keyboard is fixed via the same method as the other simulations with
the addition of console=tty on the qemu command line.

Ethernet is fixed by adding a dependency of PCNET32 to the qemuppc
configuration, which allows us to build ethernet directly into the image.

(From OE-Core rev: 29c71eeb98aa8ce0fb0e0a30483499525bf6305d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc_4.6.bb: Drop duplicated SRC_URI component
Richard Purdie [Tue, 24 Jan 2012 10:13:07 +0000 (10:13 +0000)]
gcc_4.6.bb: Drop duplicated SRC_URI component

This was duplicated from the main SRC_URI and was causing incorrect
task signatures. This simply removes the duplication.

(From OE-Core rev: cc8d02c582a72d07fd08c59d14ee5720e01a5cd9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc-package-cross.inc: Mark do_package* tasks as noexec
Richard Purdie [Fri, 20 Jan 2012 15:56:53 +0000 (15:56 +0000)]
gcc-package-cross.inc: Mark do_package* tasks as noexec

These tasks don't do anything, this just avoids the overhead of forking
to exec them.

(From OE-Core rev: 6708b3e908ae383922703390ac2d39f40348e1b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake.conf: Switch to the OEBasic signature generator
Richard Purdie [Fri, 20 Jan 2012 15:54:38 +0000 (15:54 +0000)]
bitbake.conf: Switch to the OEBasic signature generator

This signature generator will allow easier customisation of which task
dependencies get included in the signatures using the code in
lib/oe/sstatesig.py. Compared the the regexp, this function is much
easier to understand and customise.

(From OE-Core rev: 2654adc15e59e72e80cf78dc576fdc5472edac20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agolib/oe: Add sstatesig, OE specific signature generator classes
Richard Purdie [Fri, 20 Jan 2012 15:50:59 +0000 (15:50 +0000)]
lib/oe: Add sstatesig, OE specific signature generator classes

This patch adds SignatureGenerator classes specific to OE. For now,
these emulate the previous behaviour with the exception that
dependencies on quilt-native are now ignored for checksum purposes.

The intent is to allow easier experimentation and customisation of
this code in future as a result of these changes.

Note that these changes require pending bitbake patches.

(From OE-Core rev: cb73cf4299a192e6065d567fae700987c3f937aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosanity.conf: Incrase bitbake minimum version requirement to 1.15.1
Richard Purdie [Mon, 23 Jan 2012 08:59:22 +0000 (08:59 +0000)]
sanity.conf: Incrase bitbake minimum version requirement to 1.15.1

(From OE-Core rev: 383b1ef37c1c6f6b1be043ac61e338d75488c9a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agogcc: Ensure that the shared source directory shared the same sstate hashes
Richard Purdie [Thu, 19 Jan 2012 19:22:44 +0000 (19:22 +0000)]
gcc: Ensure that the shared source directory shared the same sstate hashes

The fetch/unpack/patch/headerfix tasks are shared and hence their sstate hashes
should also match. Sadly this is not the case since:

a) gcc-runtime applies an additional patch
b) The do_headerfix task was missing from libgcc
c) The do_headerfix task is a shell task and hence depends
   on all exported variables which can vary between cross and target
   recipes.

To fix this, the patch moves the patch to the common code, adds
the headerfix task to a common include file and disabled shell
dependencies on the do_headerfix task since its clear in this case
we don't need thsoe dependencies since we just call sed.

With this patch applied, all these recipes now share common sstate checksums.

(From OE-Core rev: 2c4569801a710f34a695b8d2a0ee7fc127fb34e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoBump the version to 1.15.1
Richard Purdie [Fri, 20 Jan 2012 18:26:36 +0000 (18:26 +0000)]
Bump the version to 1.15.1

(Bitbake rev: 65c2eb1c095fe7ba3259060aefd4ba0e20cae319)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agodistro_tracking: update libpng, libgdbus, opensp, nfs-utils manual check dates
Scott Garman [Thu, 19 Jan 2012 20:33:47 +0000 (12:33 -0800)]
distro_tracking: update libpng, libgdbus, opensp, nfs-utils manual check dates

(From OE-Core rev: ac162df288f6d8f68c1764fad0ab2d33b9cee281)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoprserv: fix import of sqlite3
Martin Jansa [Sun, 15 Jan 2012 21:03:53 +0000 (22:03 +0100)]
prserv: fix import of sqlite3

* this is used in all other bitbake parts where sqlite3 is used, don't
  know why it wasn't used here, but it fails e.g. on Gentoo
  Traceback (most recent call last):
    File "bin/bitbake", line 39, in <module>
      from bb import cooker
    File "lib/bb/cooker.py", line 39, in <module>
      import prserv.serv
    File "lib/prserv/serv.py", line 4, in <module>
      import xmlrpclib,sqlite3
  ImportError: No module named sqlite3

(Bitbake rev: 9a57ec705cf5c932d8c2a35852db7a4627c57937)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosiggen.py: Abstract the runtime task dependency handling code in the generators
Richard Purdie [Fri, 20 Jan 2012 16:16:08 +0000 (16:16 +0000)]
siggen.py: Abstract the runtime task dependency handling code in the generators

This means that custom signature handlers can override specific parts
of the code without having to reimplement whole functions allowing them
more flexibility.

(Bitbake rev: 164195c068a656733cfe7aa07369c5ed6ea62ca5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker.py: Allow siggen classes to be added by the metadata
Richard Purdie [Fri, 20 Jan 2012 16:15:18 +0000 (16:15 +0000)]
cooker.py: Allow siggen classes to be added by the metadata

By calling init_parser which sets up the siggen code after the ConfigParsed
event is fired, we can allow the metadata to add siggen classes which
was always what the code intended.

(Bitbake rev: 69fd5ad4a8402fab5eb8348260966b337c5648ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/fetch2: allow resuming interrupted fetch
Paul Eggleton [Mon, 16 Jan 2012 15:01:08 +0000 (15:01 +0000)]
bitbake/fetch2: allow resuming interrupted fetch

A lot of our checks in the fetcher code assume that if the downloaded
file exists, the download finished successfully; this meant that if
BitBake was interrupted in the middle of a fetch then it would not
resume the fetch the next time, but instead attempt to use the
half-fetched file and usually fail as a result.

Since we're already writing a ".done" stamp file when a fetch completes,
just check for its existence and assume the download didn't complete
successfully if it isn't present.

(Bitbake rev: 721e986624529aedef96dd06c9fe6243f2897b10)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobitbake/runqueue: always log tasks summary
Paul Eggleton [Thu, 19 Jan 2012 14:36:03 +0000 (14:36 +0000)]
bitbake/runqueue: always log tasks summary

It's unclear from the history but at some point we stopped logging the
"Tasks Summary" NOTE when tasks failed. Reinstate this for failure, and
also make the count of attempted tasks include the failed task.

(Bitbake rev: e44d5be98fc5d2589cd929ce143638395936b936)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agosiggen: Ensure correct runtask dependency output is shown for diffsigs
Richard Purdie [Thu, 19 Jan 2012 19:37:29 +0000 (19:37 +0000)]
siggen: Ensure correct runtask dependency output is shown for diffsigs

The actual task names are discounted for comparison of dependent tasks, only
the actual hashes are used. This updates the comparison code to account for
this change, attempting heuristic matching for more user friendly output but
falling back to showing the changed hashes directly. This avoids some confusing
output to users where it looked like tasks had changed when they had not and
actually had the same hash but a different taskname.

(Bitbake rev: 7da7dff83ed765c9cde1d7f91ee1b65e49520481)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agousermanual: Correct "inherit" search to bbclass from oeclass
Darren Hart [Thu, 19 Jan 2012 21:46:38 +0000 (13:46 -0800)]
usermanual: Correct "inherit" search to bbclass from oeclass

Bitbake looks for bbclass now, not oeclass. Update the docs accordingly.

(Bitbake rev: 8b713708541f85a4252c0f7b683aff4407c7d3e0)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agocooker: use futures rather than a multiprocessing pool
Christopher Larson [Mon, 9 Jan 2012 05:21:27 +0000 (23:21 -0600)]
cooker: use futures rather than a multiprocessing pool

This avoids some silent parser hangs we were seeing which were
near impossible to debug as no user feedback was given.

[RP: Tweak commit message]
(Bitbake rev: d104f29871c04a5a36600a35b2568b49e5b21ca0)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoAdd dependency on the backported python 3.2 concurrent.futures
Christopher Larson [Sun, 8 Jan 2012 23:17:23 +0000 (17:17 -0600)]
Add dependency on the backported python 3.2 concurrent.futures

(Bitbake rev: 774f59f06e65a35df597aa77c0fa06ab66c46906)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agobuildhistory_analysis: include related fields in output
Paul Eggleton [Thu, 19 Jan 2012 10:32:12 +0000 (10:32 +0000)]
buildhistory_analysis: include related fields in output

Sometimes, when a value changes in the buildhistory it is useful to
know when a related (but not necessarily itself monitored) value
changes as it can help explain the change. For example, when the list
of installed packages for an image changes it could be caused by a
change to one of the image-related variables.

Related field changes are recorded as sub-items of each change.
Currently the only way to visualise these is via the buildhistory-diff
tool, so an example would be:

Changes to images/qemux86/eglibc/core-image-minimal (installed-package-names.txt):
  locale-base-de-de was added
  procps was added
  * IMAGE_LINGUAS: added "de-de"
  * IMAGE_INSTALL: added "procps"

Here we see that two additional packages have been added to the image,
and looking at the related changes to the two variables IMAGE_INSTALL
and IMAGE_LINGUAS we have the explanation as to why.

(From OE-Core rev: 2c5b90c6d1b1091779602ebe03e84674eb63ea83)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agoclasses/patch: avoid backtrace when patch does not apply
Paul Eggleton [Thu, 19 Jan 2012 13:59:15 +0000 (13:59 +0000)]
classes/patch: avoid backtrace when patch does not apply

We don't need to see a Python stack backtrace when a patch does not
apply, just the error output from patch, so trap these kinds of errors
and ensure that we display the message and fail the task and nothing
else.

Fixes [YOCTO #1143]

(From OE-Core rev: ce6c80a1e68c2af0b4b5fa27582ad9c9f119e5c1)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 years agotask-base: rename VIRTUAL-RUNTIME-alsa-state to use underscore
Martin Jansa [Thu, 19 Jan 2012 13:51:44 +0000 (14:51 +0100)]
task-base: rename VIRTUAL-RUNTIME-alsa-state to use underscore

* in http://lists.linuxtogo.org/pipermail/openembedded-core/2012-January/016226.html
  we talked about
  VIRTUAL-RUNTIME_alsa-state, but
  VIRTUAL-RUNTIME-alsa-state was used instead, which is inconsistent with other VIRTUAL-RUNTIME vars

(From OE-Core rev: d5b892467023d77d219ae05170c875f7b423aa78)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>