]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agosystemtap: build and install uprobes.ko
Wade Farnsworth [Mon, 6 Feb 2012 14:49:14 +0000 (07:49 -0700)]
systemtap: build and install uprobes.ko

SystemTap needs to provide uprobes.ko in order to support user space
probing.  Build and install the module on systems that support it.

Additionally, split off common bits into systemtap_git.inc.

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
13 years agosystemtap: extend the recipe to build the native package
Wade Farnsworth [Mon, 6 Feb 2012 14:48:20 +0000 (07:48 -0700)]
systemtap: extend the recipe to build the native package

Since the target image may not contain dev tools, it is useful to
provide native systemtap in order to be able to compile systemtap
scripts for the target.

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
13 years agosystemtap: bump SRCREV to grab version 1.7
Wade Farnsworth [Mon, 6 Feb 2012 14:47:41 +0000 (07:47 -0700)]
systemtap: bump SRCREV to grab version 1.7

Bump SRCREV to the latest stable version of systemtap.

Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
13 years agou-boot inc: update inc file for newer u-boot versions
Chase Maupin [Mon, 6 Feb 2012 14:16:58 +0000 (08:16 -0600)]
u-boot inc: update inc file for newer u-boot versions

* Add support for different suffixes found with later u-boot
  versions which have switched from .bin to .img
* Allow recipes that include u-boot.inc to also package an
  SPL if they build one.
    * Minimum requirement is to set the SPL_BINARY value to add
      the SPL to the u-boot package as well as into the deploy
      directory.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
13 years agolibcap: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:34:22 +0000 (13:34 +0000)]
libcap: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agolibusb-compat: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:42:36 +0000 (13:42 +0000)]
libusb-compat: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

13 years agolibusb1: Cope with ${libdir} and ${base_libdir} being the same
Mike Crowe [Mon, 6 Feb 2012 13:33:31 +0000 (13:33 +0000)]
libusb1: Cope with ${libdir} and ${base_libdir} being the same

${libdir} and ${base_libdir} may be the same. If they are don't try and
move files onto themselves.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agowebkit-gtk: Make webgl support configurable via DISTRO_FEATURES.
Peter Tworek [Sat, 4 Feb 2012 18:41:41 +0000 (19:41 +0100)]
webkit-gtk: Make webgl support configurable via DISTRO_FEATURES.

* Add missing dependency on virtual/libgl.
* Make webgl configurable via DISTRO_FEATURES="opengl".
* Run tested on netbook pro.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
13 years agowebkit-gtk: Fix error.html resource path.
Peter Tworek [Sat, 4 Feb 2012 18:41:40 +0000 (19:41 +0100)]
webkit-gtk: Fix error.html resource path.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
13 years agoopenssl-0.9.8: Remove in favor or 1.0.0
Saul Wold [Mon, 6 Feb 2012 16:35:27 +0000 (08:35 -0800)]
openssl-0.9.8: Remove in favor or 1.0.0

Now that Openssl 1.0.0 has been out for a while, there is no need to
keep multiple versions.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agognupg-1.4.7: Update Patch Info
Saul Wold [Mon, 6 Feb 2012 16:17:25 +0000 (08:17 -0800)]
gnupg-1.4.7: Update Patch Info

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agobusybox: Add flock utility to default configuration.
Peter Tworek [Thu, 2 Feb 2012 20:21:26 +0000 (21:21 +0100)]
busybox: Add flock utility to default configuration.

Flock is required by by pm-utils package to function properly
(/usr/lib/pm-utils/functions). It's shipped in both busybox and
util-linux. Both versions work fine with pm-utils. Enabling it
in busybox seems like simpliest solution for the problem.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
13 years agobootimg: Use the same OS files for each boot method
Darren Hart [Thu, 2 Feb 2012 00:15:04 +0000 (16:15 -0800)]
bootimg: Use the same OS files for each boot method

Fixes [YOCTO #1951]

The do_bootimg code can generate hybrid efi+pcbios images (syslinux and
grub-efi) to boot on platforms with both EFI and legacy BIOS options. The
current implementation copies the kernel, initrd, and rootfs twice,
unnecessarily bloating the image size. This is an especially egregious bug
on -sato images.

Update the classes to use a common install of the kernel, initrd, and rootfs to
the root of the boot media. Grub-efi, syslinux, and isolinux can all reference
this location explicitly with a leading slash.

Tested with an EFI+PCBIOS image in both EFI and PCBIOS boot modes on two
platforms. No ISO image testing was performed.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
13 years agotune-mips32.inc: Add mips32-nf and mips32el-nf
Andreas Oberritter [Thu, 2 Feb 2012 13:00:34 +0000 (14:00 +0100)]
tune-mips32.inc: Add mips32-nf and mips32el-nf

tune-mips32.inc only lists mips32 CPUs with hardware FPU.
Extend it to list CPUs without hardware FPU, too.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agolibzypp: add missing runtime dependences on gzip and gnupg
Steve Sakoman [Wed, 1 Feb 2012 15:20:32 +0000 (07:20 -0800)]
libzypp: add missing runtime dependences on gzip and gnupg

gzip is required to uncompress repository files
gnupg is required for the support of signed repositories.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agognupg: add 2.0.18 (initial recipe)
Steve Sakoman [Wed, 1 Feb 2012 15:20:31 +0000 (07:20 -0800)]
gnupg: add 2.0.18 (initial recipe)

GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibksba: add 1.2.0 (initial recipe)
Steve Sakoman [Wed, 1 Feb 2012 15:20:30 +0000 (07:20 -0800)]
libksba: add 1.2.0 (initial recipe)

Libksba provides an easy API to create and parse X.509 and CMS related objects
and is required for gnupg

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoshadow-securetty: allow root logins on usb serial gadget device
Steve Sakoman [Wed, 1 Feb 2012 17:24:48 +0000 (09:24 -0800)]
shadow-securetty: allow root logins on usb serial gadget device

Existing tty list does not include ttyGS0, add it

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses/patch: optionally return non-patch sources
Bruce Ashfield [Wed, 1 Feb 2012 18:55:41 +0000 (13:55 -0500)]
classes/patch: optionally return non-patch sources

commit:

  patch.bbclass: abstract out logic that determines patches to apply

gives the ability for other clases to emit series files for use outside
of a build system, or even within the build system. There are sometimes
elements on the SRC_URI that while not directly applicable to patching,
can be related to patching the package. For example, the yocto kernel
class would like to know about these other source items on the SRC_URI
to locate out of tree kernel features.

This change keeps the default behaviour of returning patches, but adds the
ability to request that non-patch results be returned.  Additional filtering
within the non-patch category, is left up to the caller of the routine.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoAdd EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH
Ken Werner [Wed, 14 Dec 2011 22:58:31 +0000 (23:58 +0100)]
Add EXTERNAL_TOOLCHAIN to CMAKE_FIND_ROOT_PATH

This allows cmake to find the binaries of an external toolchain.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: extract version info from the toolchain
Christopher Larson [Fri, 27 Jan 2012 17:13:48 +0000 (11:13 -0600)]
external-csl-toolchain: extract version info from the toolchain

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl-toolchain: leverage eglibc's packaging for more granular output
Christopher Larson [Fri, 27 Jan 2012 17:13:47 +0000 (11:13 -0600)]
external-csl-toolchain: leverage eglibc's packaging for more granular output

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

Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its bindir
(e.g. gcc, ld). To avoid this messing up our build, we avoid adding this
bindir to our PATH, and instead add symlinks to the prefixed binaries to our
staging toolchain bindir.

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