]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoexternal-csl-toolchain: support mips/ppc/arm
Christopher Larson [Fri, 27 Jan 2012 17:13:45 +0000 (11:13 -0600)]
external-csl-toolchain: support mips/ppc/arm

- Rather than adjusting TARGET_VENDOR, which results in our TARGET_SYS
  matching the external toolchain, override TARGET_PREFIX to match external,
  and leave TARGET_SYS alone
- Grab the optimized files out of the toolchain if available
- Create a symlink in sysroot to ensure the sysroot layout matches toolchain
  expectations (optimized files in a subdir)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoeglibc-package.inc: don't include debug files in -pic
Christopher Larson [Fri, 27 Jan 2012 17:13:40 +0000 (11:13 -0600)]
eglibc-package.inc: don't include debug files in -pic

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobinutils: fixes for build with an external csl toolchain
Christopher Larson [Fri, 27 Jan 2012 17:13:41 +0000 (11:13 -0600)]
binutils: fixes for build with an external csl toolchain

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoLSB_Setup.sh: Add locale resources and startup script avahi-daemon
Xiaofeng Yan [Fri, 3 Feb 2012 06:39:46 +0000 (14:39 +0800)]
LSB_Setup.sh: Add locale resources and startup script avahi-daemon

The purpose of adding locale resources is to resolve bug 1954 because missing locale resources
cause many failures.

The purpose of adding startup script avahi-daemon is to resolve bug 1907. The detailed description
is as follows:
No daemon progress "avahi-daemon" when system starting up.
Function "gethostbyaddr" will search file "/var/run/avahi-daemon/socket" but there is no
this file which is created by avahi-daemon.

[YOCTO #1907 #1954]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinit-functions: Add two functions
Xiaofeng Yan [Fri, 3 Feb 2012 06:39:43 +0000 (14:39 +0800)]
init-functions: Add two functions

Add log_begin_msg() and log_end_msg () in init-functions because some startup scripts need them.
if there are not two functions, then error information will arise on screen.
for example,
$ /etc/init.d/avahi-daemon start
/etc/init.d/avahi-daemon: line 161: log_begin_msg: command not found
/etc/init.d/avahi-daemon: line 163: log_end_msg: command not found

[YOCTO #1907]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agostrace: add x32 support
Nitin A Kamble [Fri, 3 Feb 2012 05:52:04 +0000 (21:52 -0800)]
strace: add x32 support

This commits adds a patch to enable x32 support in the strace recipe.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobyacc: upgrade from 20111219 to 20120115
Nitin A Kamble [Wed, 1 Feb 2012 18:05:19 +0000 (18:05 +0000)]
byacc: upgrade from 20111219 to 20120115

update md5sum for license as the copyright years are updated in the file

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking: update for current upgrades
Nitin A Kamble [Wed, 1 Feb 2012 23:41:01 +0000 (15:41 -0800)]
distro_tracking: update for current upgrades

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython-dbus: upgrade from 0.84.0 to 1.0.0
Nitin A Kamble [Wed, 1 Feb 2012 23:40:59 +0000 (15:40 -0800)]
python-dbus: upgrade from 0.84.0 to 1.0.0

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoquilt: upgrade from 0.50 to 0.51
Nitin A Kamble [Wed, 1 Feb 2012 23:40:58 +0000 (15:40 -0800)]
quilt: upgrade from 0.50 to 0.51

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb: upgrade from 7.3.1 to 7.4
Nitin A Kamble [Wed, 1 Feb 2012 23:40:57 +0000 (15:40 -0800)]
gdb: upgrade from 7.3.1 to 7.4

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogmp: upgrade from 5.0.2 to 5.0.3
Nitin A Kamble [Wed, 1 Feb 2012 23:40:56 +0000 (15:40 -0800)]
gmp: upgrade from 5.0.2 to 5.0.3

rebased configure.patch & amd64.patchto the newer code.
Removed sh4-asmfix.patch as it is not needed with the newer code.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_track: Track Updates
Saul Wold [Thu, 2 Feb 2012 18:27:00 +0000 (10:27 -0800)]
distro_track: Track Updates

openssl: Update to 1.0.0g
openssl: Update to 0.9.8t (gplv2)
gnutls: Update to 2.12.16
rxvt-unicode: Update to 9.15
gnupg: Add gplv2 version 1.4.7
file: Update to version 5.10
libidn: Update to 1.24
libdrm: Update to 2.4.30
xinit: Update to 1.3.2
xf86-input-keyboard: Update to 1.6.1
xf87-input-evdev: 2.6.0

Manual Checks:
util-linux - NO Update reason

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoxf86-input-keyboard: Update to 1.6.1
Saul Wold [Thu, 2 Feb 2012 18:21:02 +0000 (10:21 -0800)]
xf86-input-keyboard: Update to 1.6.1

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoxinit: Update to 1.3.2
Saul Wold [Thu, 2 Feb 2012 18:20:24 +0000 (10:20 -0800)]
xinit: Update to 1.3.2

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibdrm: Update to 2.4.30
Saul Wold [Thu, 2 Feb 2012 18:19:56 +0000 (10:19 -0800)]
libdrm: Update to 2.4.30

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibidn: Update to 1.24
Saul Wold [Thu, 2 Feb 2012 18:19:33 +0000 (10:19 -0800)]
libidn: Update to 1.24

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agofile: Update to version 5.10
Saul Wold [Thu, 2 Feb 2012 18:19:08 +0000 (10:19 -0800)]
file: Update to version 5.10

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognupg: Add gplv2 version 1.4.7
Saul Wold [Thu, 2 Feb 2012 18:18:40 +0000 (10:18 -0800)]
gnupg: Add gplv2 version 1.4.7

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agorxvt-unicode: Update to 9.15
Saul Wold [Thu, 2 Feb 2012 18:17:52 +0000 (10:17 -0800)]
rxvt-unicode: Update to 9.15

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognutls: Update to 2.12.16
Saul Wold [Thu, 2 Feb 2012 18:17:25 +0000 (10:17 -0800)]
gnutls: Update to 2.12.16

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoopenssl: Update to 0.9.8t (gplv2)
Saul Wold [Thu, 2 Feb 2012 18:16:25 +0000 (10:16 -0800)]
openssl: Update to 0.9.8t (gplv2)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoopenssl: Update to 1.0.0g
Saul Wold [Thu, 2 Feb 2012 18:15:39 +0000 (10:15 -0800)]
openssl: Update to 1.0.0g

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agoself-hosted-image: add package management for correct installation
Saul Wold [Wed, 1 Feb 2012 03:53:51 +0000 (19:53 -0800)]
self-hosted-image: add package management for correct installation

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-self-hosted: add python-pkgutil since it's required
Saul Wold [Wed, 1 Feb 2012 00:58:00 +0000 (16:58 -0800)]
task-self-hosted: add python-pkgutil since it's required

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agotask-self-hosted: add disk partitioning tools
Saul Wold [Thu, 26 Jan 2012 18:34:53 +0000 (10:34 -0800)]
task-self-hosted: add disk partitioning tools

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agometa-yocto/local.conf.sample.extended: add LICENSE_FLAGS_WHITELIST section
Tom Zanussi [Thu, 2 Feb 2012 00:28:59 +0000 (18:28 -0600)]
meta-yocto/local.conf.sample.extended: add LICENSE_FLAGS_WHITELIST section

Add a new section for LICENSE_FLAGS_WHITELIST, containing a list of
the current packages with LICENSE_FLAGS.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoatk: add native / disable introspection / merge atk.inc->recipe / change license
Andreas Müller [Sun, 29 Jan 2012 00:00:53 +0000 (01:00 +0100)]
atk: add native / disable introspection / merge atk.inc->recipe / change license

Native support currently is appended in meta-oe. Native build failed with:

| /usr/share/gir-1.0/GLib-2.0.gir:9:1: error: Unsupported version '1.1'
| /usr/share/gir-1.0/GLib-2.0.gir:9:39: error: Unsupported version '1.1'
| error parsing file Atk-1.0.gir: Failed to parse included gir GLib-2.0
| make[3]: *** [Atk-1.0.typelib] Error 1

build tested in meta-oe / angstrom environment

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogconf.bbclass: Add proper RDEPENDS to packages with gconf postinststep.
Peter Tworek [Wed, 1 Feb 2012 07:32:04 +0000 (08:32 +0100)]
gconf.bbclass: Add proper RDEPENDS to packages with gconf postinststep.

Right now gconf bbclass adds both postinst and prerm steps, but it does
not ensure that packages involved have gconf in RDEPENDS. This can lead
to a situation where postinst/prerm steps fail because gconftool-2 is
not installed.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking_fields: take sysklogd off Saul's plate
Joshua Lock [Wed, 1 Feb 2012 00:50:35 +0000 (16:50 -0800)]
distro_tracking_fields: take sysklogd off Saul's plate

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agosysklogd: various fixes so it starts/stops cleanly
Joshua Lock [Wed, 1 Feb 2012 00:49:47 +0000 (16:49 -0800)]
sysklogd: various fixes so it starts/stops cleanly

This patch fixes several issues with the sysklogd recipe:
o Errors at start due to non-existent /var/log/news/ - every other log
  file is created in /var/log, not a sub-directory. Do the same for news
  logs.
o klogd would not be stopped due to pidfile recycling, give klogd its own
  pidfile
o preinstalls failed at rootfs creation time by trying to access the host
  root filesystem rather than a path relative to $D. Update the preinst to
  test for $D and do the right thing.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agopciutils: fix configure script for dash
Joshua Lock [Tue, 31 Jan 2012 23:21:00 +0000 (15:21 -0800)]
pciutils: fix configure script for dash

configure.patch was missing a closing quote in a sed expression which
causes script execution to error on less forgiving shells such as dash.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
13 years agoudev: improve udev-cache robustness
Otavio Salvador [Tue, 20 Dec 2011 14:13:14 +0000 (14:13 +0000)]
udev: improve udev-cache robustness

 * allow udev-cache to be disabled at runtime (using
   /etc/default/udev-cache);

 * make cache invalidated if kernel, bootparams or device list
   changes;

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
13 years agoexternal-csl-toolchain: avoid the hardcoded version/prefix
Christopher Larson [Fri, 27 Jan 2012 17:13:44 +0000 (11:13 -0600)]
external-csl-toolchain: avoid the hardcoded version/prefix

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>