]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoexternal-csl-toolchain: fixes for metadata changes
Christopher Larson [Fri, 27 Jan 2012 17:13:43 +0000 (11:13 -0600)]
external-csl-toolchain: fixes for metadata changes

These allow the recipe to build again:

- add compilerlibs, g++, libgcc to the provides
- add linux-libc-headers-dev to the packages
- in libc-package, only sed the ldd.bash.in file if it exists, as the external
  toolchain is using that class as well
- shift the inherit location of the libc classes, as they were overriding the
  recipe's do_install
- use ?= for EXTERNAL_TOOLCHAIN, so the user can set it

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibc-package: fix typo in LOCALETREESRC default value
Christopher Larson [Fri, 27 Jan 2012 17:13:39 +0000 (11:13 -0600)]
libc-package: fix typo in LOCALETREESRC default value

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: fix critical PATH manipulation bug
Christopher Larson [Fri, 27 Jan 2012 17:13:42 +0000 (11:13 -0600)]
external-csl-toolchain: fix critical PATH manipulation bug

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage bbclass: allow per package PRIVATE_LIBS
Koen Kooi [Fri, 27 Jan 2012 16:50:40 +0000 (17:50 +0100)]
package bbclass: allow per package PRIVATE_LIBS

If a recipe packages multiple versions of shlib (e.g. powervr drivers) we only want the shlib code to pickup $PN, not $PN-foo subpackages.
This keeps backward compatibility with the global PRIVATE_LIBS usage if no per package PRIVATE_LIBS are set for a given package. In other words: this doesn't break the firefox recipe.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix the issue that adt-installer tar ball is not regenerated if sstate is on, and...
Jessica Zhang [Tue, 31 Jan 2012 05:11:44 +0000 (21:11 -0800)]
Fix the issue that adt-installer tar ball is not regenerated if sstate is on, and other minor bug fixes

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
13 years agoe2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKE
Scott Garman [Tue, 31 Jan 2012 02:40:29 +0000 (18:40 -0800)]
e2fsprogs: remove unneeded patch and re-enable PARALLEL_MAKE

Koen Kooi suggested that the quotefix patch was not needed,
and the build of the recipe should now be multithread-safe.
My testing has confirmed this.

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
13 years agopkgconfig: Ensure pkgconfig RDEPENDS are tracked
Richard Purdie [Tue, 31 Jan 2012 15:52:27 +0000 (15:52 +0000)]
pkgconfig: Ensure pkgconfig RDEPENDS are tracked

Currently, pkgconfig dependencies get added to -dev packages which install
pc files however nothing in the system makes bitbake aware of these
dependencies so images can fail with pkgconfig being missing.

This change explictly adds in the pkgconfig RDEPENDS to the -dev packages
and hence makes bitbake aware of the dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoopkg-utils: convert to git repo at git.yoctoproject.org
Saul Wold [Tue, 31 Jan 2012 18:27:53 +0000 (10:27 -0800)]
opkg-utils: convert to git repo at git.yoctoproject.org

The svn.openmoko.org site seems to have become unstable, make a copy
and convert to git at git.yoctoproject.org to preserve history

[YOCTO #1867]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobootimg: Do not force FAT32 on all images, it violates the FAT specification
Darren Hart [Tue, 31 Jan 2012 16:41:13 +0000 (08:41 -0800)]
bootimg: Do not force FAT32 on all images, it violates the FAT specification

Fixes [YOCTO #1940]

do_bootimg was performing the FAT overhead calculations assuming FAT32 and then
forcing the use of FAT32 with "-F 32" to mkdosfs. The FAT specification is clear
on cluster count being the determining factor for FAT size (even if the fs
string is set to FAT32, go figure). Syslinux follows this spec, and rightly so,
resulting in a failure on core-image-minimal:

syslinux: zero FAT sectors (FAT12/16)

Drop the "-F 32" from mkdosfs to allow it to select the appropriate FAT size
based on cluster count. Leave the FAT overhead calculation in FAT32. This will
result in a little extra padding for really small images, but not enough extra
to justify recalculating for FAT12 and FAT16.

Tested with a core-image-minimal build for atom-pc. do_bootimg completed
successfully, and the resulting image was FAT16.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agogdb-common: Drop elfutils from DEPENDS
Khem Raj [Sat, 21 Jan 2012 01:07:42 +0000 (17:07 -0800)]
gdb-common: Drop elfutils from DEPENDS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 years agolinux-yocto: update to v3.0.18 + features
Bruce Ashfield [Mon, 30 Jan 2012 06:12:12 +0000 (01:12 -0500)]
linux-yocto: update to v3.0.18 + features

The -stable team released v3.0.18, so it becomes the new base for the
linux-yocto_3.0 recipe.

Along with the 3.0.18 update this kernel refresh brings in the following
changes:

  59314a3 meta/beagleboard: Using CONFIG_PANEL_GENERIC_DPI=y
  b168325 crownbay: use emgd-1.10
  281b80f kver: bumping to v3.0.18
  0d5d0dd common-pc*: add SMP and virtio

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agolinux-yocto: add kernel 3.2.2 support
Bruce Ashfield [Fri, 27 Jan 2012 20:41:20 +0000 (15:41 -0500)]
linux-yocto: add kernel 3.2.2 support

Adding initial support for the linux 3.2 kernel.

Although the branching and naming has changed slightly, the same BSPs and
features exist in this tree as have existed in previous linux-yocto versions.

Notable features of this update are:

  - streamlined branch naming
  - configuration and functionality split in the standard kernel
  - creation of the 'tiny' kernel type branch
  - audited kernel configurations with optional features documented
    in the meta branch
  - feature and BSP refreshes
  - 3.2-rt support refresh
  - qemu ppc graphics support

Build and boot testing has been performed on all emulated targets
(sato and core).

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agokern-tools: import config audit and branch manipulation updates
Bruce Ashfield [Wed, 25 Jan 2012 19:12:10 +0000 (14:12 -0500)]
kern-tools: import config audit and branch manipulation updates

Updating the kern-tools SRCREV to import the following changes:

 a7a9930 kgit-meta/scc: allow multi-line defines
 e3442c6 kern-tools: add required and optional kernel configuration processing
 b56b67b configme: extract redefinition and mismatch information
 6118eaf kern-tools: remove branchname assumptions

These are required to support the kernel configuration policy changes
implemented in the yocto 3.2 kernel repository.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agotzdata_2011n: provide pkg_postinst and timezone defaults
Andrea Adami [Sat, 28 Jan 2012 07:57:57 +0000 (08:57 +0100)]
tzdata_2011n: provide pkg_postinst and timezone defaults

* Introduce DEFAULT_TIMEZONE variable ('Universal', present in base package)
* and add /etc/timezone during do_install.
* While there, fix hardcoded references to $exec_prefix (/usr).
* Add the pkg_postinst script (adapted from Gentoo).
* Create /etc/localtime during postinst.
* Bump PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
13 years agoclasses: replace 'Poky' with 'OE-core'
Koen Kooi [Mon, 30 Jan 2012 12:44:47 +0000 (13:44 +0100)]
classes: replace 'Poky' with 'OE-core'

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoalsa-utils: make alsa-utils-alsactl recommend alsa-states
Koen Kooi [Mon, 30 Jan 2012 16:49:59 +0000 (17:49 +0100)]
alsa-utils: make alsa-utils-alsactl recommend alsa-states

This will drag in the asound.state from the BSP that alsactl uses.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoalsa-state: fix RDEPENDS assignment
Koen Kooi [Mon, 30 Jan 2012 16:49:58 +0000 (17:49 +0100)]
alsa-state: fix RDEPENDS assignment

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
13 years agoqt4-tools-nativesdk-4.8.0: fix build
Eric Bénard [Wed, 25 Jan 2012 17:22:33 +0000 (18:22 +0100)]
qt4-tools-nativesdk-4.8.0: fix build

the build is actually failing because host g++ and ld are used to
compile and link

Signed-off-by: Eric Bénard <eric@eukrea.com>
13 years agogenext2fs: fix inode computation
Saul Wold [Fri, 27 Jan 2012 16:51:54 +0000 (08:51 -0800)]
genext2fs: fix inode computation

This patch fixes a problem with the computation of inodes
based on the bytes_per_inode options, for a larger FS (> 2G)
the inode count would go negative and a smaller default
count would be used, this would cause the FS to run out of
inodes.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoimage_types.bbclass: refactor cpio images generation.
Andrea Adami [Thu, 26 Jan 2012 07:09:50 +0000 (08:09 +0100)]
image_types.bbclass: refactor cpio images generation.

* Add common check for the presence of an /init
* symlink, being 'touch' would fail with it
* and 'touch -h' is not yet generally supported
* (depends on distro on build host).

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
13 years agorootfs_ipk: remove runtime_script_required usage
Martin Jansa [Wed, 25 Jan 2012 08:05:15 +0000 (09:05 +0100)]
rootfs_ipk: remove runtime_script_required usage

* it was introduced in 87780fc09b066525e47d0f50ee5497db54d304cd
* then partially removed in 2feba313c991170747381c7cf821a45c2cd04632
* so remove this use too as runtime_script_required is not initialized anymore and results in
  run.do_rootfs.6328: line 235: [: -eq: unary operator expected

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13 years agogcc-runtime: fix override from poky-lsb to linuxstdbase
Saul Wold [Thu, 26 Jan 2012 17:47:22 +0000 (09:47 -0800)]
gcc-runtime: fix override from poky-lsb to linuxstdbase

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agodefault-providers: add kbd as PREFERRED_PROVIDER for console-tools
Saul Wold [Tue, 24 Jan 2012 17:53:52 +0000 (09:53 -0800)]
default-providers: add kbd as PREFERRED_PROVIDER for console-tools

kbd is used a primary provider for console-tools

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agouseradd.bbclass: Fix missing quote
Richard Purdie [Fri, 27 Jan 2012 23:57:33 +0000 (23:57 +0000)]
useradd.bbclass: Fix missing quote

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

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

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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

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

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

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

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

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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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]

Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 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

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

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

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

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

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

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 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.

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

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

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

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

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

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 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]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
13 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.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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

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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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
---
>     Copyright (C) 1993, 1994 Andrew Moore, Talke Studio
>     Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012

the diff between two main.c files:

2c2
<     Copyright (C) 1993, 1994, 2006, 2007, 2008, 2009, 2010
---
>     Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012
46d45

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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.

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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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.

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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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.

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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 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.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 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.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 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

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 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".

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
13 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.

Signed-off-by: Shane Wang <shane.wang@intel.com>
13 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

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

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

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>