]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agosrc_distributelocal.bbclass: Remove src_distribute_local.bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:20 +0000 (18:49 +0800)]
src_distributelocal.bbclass: Remove src_distribute_local.bbclass

This bbclass has been merged into archiver.bbclass

[#YOCTO 1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosrc_distribute.bbclass: Remove src__distribute.bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:17 +0000 (18:49 +0800)]
src_distribute.bbclass: Remove src__distribute.bbclass

This bbclass has been merged into archiver.bbclass

[#YOCTO 1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosourcepkg.bbclass: Remove sourcepkg.bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:14 +0000 (18:49 +0800)]
sourcepkg.bbclass: Remove sourcepkg.bbclass

This bbclass has been merged into archiver.bbclass.

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: common-pc: Add PCNET32 to the config
Bruce Ashfield [Mon, 26 Mar 2012 13:57:58 +0000 (09:57 -0400)]
linux-yocto: common-pc: Add PCNET32 to the config

Updating the meta SRCREV to pick up this commit:

[
    common-pc: Add PCNET32 to the config

    Qemu and VM Ware both support PCNET32 and the latter requires it for
    32 bit images.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
]

Signed-off-by: Darren Hart <dvhart@linux.intel.com>5A
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: touch .scmversion also in ${S}
Martin Jansa [Mon, 26 Mar 2012 17:29:48 +0000 (19:29 +0200)]
kernel.bbclass: touch .scmversion also in ${S}

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix empty file case that caused build error at do_rootfs
Jessica Zhang [Mon, 26 Mar 2012 21:31:12 +0000 (14:31 -0700)]
Fix empty file case that caused build error at do_rootfs

Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agospeex: fix FILES variables
Eric Bénard [Wed, 21 Mar 2012 11:08:21 +0000 (12:08 +0100)]
speex: fix FILES variables

actually FILES_${PN} and FILES_${PN}-dev match the same files.
these files are supposed to go into ${PN} so remove the other entry.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: fix packaging dependencies on minimal systems
Gary Thomas [Fri, 23 Mar 2012 19:28:16 +0000 (13:28 -0600)]
python: fix packaging dependencies on minimal systems

If you install the top-level python package only on a minimal
system which has no other python packages installed then python
is not functional at all.  Without any extra packages installed
this error is seen:
  # python
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 64, in <module>
      import traceback
  ImportError: No module named traceback

Installing python-lang only partly fixes the problem as this
error still exists:
  # python
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 569, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 551, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 243, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 520, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 400, in get_config_vars
      import re
  ImportError: No module named re

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types.bbclass: Define runnable and deployable pattern
Dongxiao Xu [Sat, 24 Mar 2012 02:31:14 +0000 (10:31 +0800)]
image_types.bbclass: Define runnable and deployable pattern

Define runnable image type and machine pattern.
Define deployable image type.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoVarious typoes fixed, all comments or output strings.
Robert P. J. Day [Sun, 25 Mar 2012 11:46:15 +0000 (07:46 -0400)]
Various typoes fixed, all comments or output strings.

Typoes fixed: "enviroment", "editted", "spliting", "scheulder".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobusybox: move watch to /usr/bin for compatibility with procps
Andreas Oberritter [Sat, 24 Mar 2012 19:46:47 +0000 (20:46 +0100)]
busybox: move watch to /usr/bin for compatibility with procps

Commit 68dc2a3fa30c03a196d650de34d0c657a7b85454 broke opkg upgrade:

| update-alternatives: Error: cannot register alternative watch to
| /usr/bin/watch since it is already registered to /bin/watch

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoqemu: add fedora pkg names when build failed
Robert Yang [Mon, 26 Mar 2012 06:49:38 +0000 (14:49 +0800)]
qemu: add fedora pkg names when build failed

When qemu build failed, we can see such messages:

You need libGL.so and libGLU.so to exist in your library path and the
development headers for SDL installed to build qemu-native.

Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and
libsdl1.2-dev

These pkgs have different names on Fedora distributions, and Fedora is
one the
main linux distributions, so add Fedora package names.

The following Fedora versions have these pkgs:
Fedora 9 64bit
Fedora 13 32bit
Fedora 13 64bit
Fedora 16 64bit

[YOCTO #2174]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-cross-canadian: Fixed packaging warnings.
Lianhao Lu [Mon, 26 Mar 2012 07:10:03 +0000 (15:10 +0800)]
gcc-cross-canadian: Fixed packaging warnings.

Removed non-shipped empty directories:
 -${prefix}/${TARGET_SYS}
 -${libdir}/../lib
 -${prefix}/include

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocore-image-minimal-mtdutils.bb: Simple DESCRIPTION grammar fix.
Robert P. J. Day [Sun, 25 Mar 2012 11:22:23 +0000 (07:22 -0400)]
core-image-minimal-mtdutils.bb: Simple DESCRIPTION grammar fix.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosetserial: Correct LICENSE
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:47 +0000 (16:51 -0700)]
setserial: Correct LICENSE

setserial's license is GPL version 2.0 per:

http://sourceforge.net/projects/setserial/develop

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocommon-license: Add ICU generic
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:46 +0000 (16:51 -0700)]
common-license: Add ICU generic

Another lone license with no generic available.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocommon-licenses: Adding GPL-2.0-with-OpenSSL-exception
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:45 +0000 (16:51 -0700)]
common-licenses: Adding GPL-2.0-with-OpenSSL-exception

socat uses this. There is no good standardized text for this,
but as socat is the only one who utilizes this, it should do
for now although this package has some licensing issues according
to debian. See:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632481

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Style guide compliance
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:44 +0000 (16:51 -0700)]
license.bbclass: Style guide compliance

4 spaces. Correcting some bash whitespace in license to comply
with the style guide.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoutil-linux: Example of pkg level INCOMPATIBLE_LICENSE
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:43 +0000 (16:51 -0700)]
util-linux: Example of pkg level INCOMPATIBLE_LICENSE

util-linux-lscpu provides an example of pkg level incompatible
license. In this instance, we've set the license for this specific
package as GPLv3. The other packages inherit the recipe LICENSE.

What this allows is the package to not be included on install to
the image.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoINCOMPATIBLE_LICENSE: support for spdx and pkg licenses
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:42 +0000 (16:51 -0700)]
INCOMPATIBLE_LICENSE: support for spdx and pkg licenses

This adds a few things to the incompatible license functionality

1. INCOMPATIBLE_LICENSE was unable to distinguish any variation
within LICENSE (e.g. GPLv3 v. GPLv3.0). This now utilizes the
SPDXLICENSEMAP of the license indicated as INCOMPATIBLE_LICENSE

2. Given a recipe where the main LICENSE was incompatible but
a package of the recipe was compatible, the entire recipe would
be excluded. This allows us some finer grained control over what
exactly gets excluded.

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Whitespace standardization
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:41 +0000 (16:51 -0700)]
license.bbclass: Whitespace standardization

Removing tabs within check_license_flags to standardize to
4 space tabbing

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolicense.bbclass: Add spdx mapping to GPL-1.0
Elizabeth Flanagan [Fri, 23 Mar 2012 23:51:40 +0000 (16:51 -0700)]
license.bbclass: Add spdx mapping to GPL-1.0

Perl is GPL-1.0. For consistency sake, adding an spdx map for
GPLv1

Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoPPP: Remove leftover reference to "nylon" distro from PPP recipe.
Robert P. J. Day [Sat, 24 Mar 2012 13:07:38 +0000 (09:07 -0400)]
PPP: Remove leftover reference to "nylon" distro from PPP recipe.

Delete reference to what is apparently a remnant from the OE-core
split, according to Paul Eggleton.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoiptables: fix build error against 3.2+ kernel headers
Bruce Ashfield [Fri, 23 Mar 2012 18:36:04 +0000 (14:36 -0400)]
iptables: fix build error against 3.2+ kernel headers

The iptables local linux/types.h overrides the kernel/sysroot
types.h. As such, we need to provide some defines that are required
to build against 3.2+ kernel headers.

ifndef protection is provided for the defines to ensure that
configuration that already have these defines are still buildable.

This commit is temporary until a new version of iptables can be
used that contains the defines.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
13 years agotaglib: Refresh patch after recent accidental breakage
Richard Purdie [Fri, 23 Mar 2012 18:29:29 +0000 (18:29 +0000)]
taglib: Refresh patch after recent accidental breakage

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibzypp: Fix buiild with gcc 4.7
Khem Raj [Fri, 23 Mar 2012 15:37:50 +0000 (08:37 -0700)]
libzypp: Fix buiild with gcc 4.7

it needs protype of close() before using it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: don't create /etc/modutils/*
Martin Jansa [Fri, 23 Mar 2012 12:56:31 +0000 (13:56 +0100)]
kernel.bbclass: don't create /etc/modutils/*

* update-modules was updated to read /etc/modules-load.d/*.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoupdate-modules: update script to read /etc/modules-load.d/ directory
Martin Jansa [Fri, 23 Mar 2012 14:37:23 +0000 (15:37 +0100)]
update-modules: update script to read /etc/modules-load.d/ directory

* show warning for old /etc/modutils/* files without .conf extension
* v2: keep adding modules also from old /etc/modutils/* after showing
  warning, this way update-modules will be backward compatible also on
  images without kernel upgrade

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: fix extra + in kernelrelease
Martin Jansa [Fri, 23 Mar 2012 12:56:29 +0000 (13:56 +0100)]
kernel.bbclass: fix extra + in kernelrelease

* see http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014308.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: use better number for KERNEL_PRIORITY
Martin Jansa [Fri, 23 Mar 2012 12:56:28 +0000 (13:56 +0100)]
kernel.bbclass: use better number for KERNEL_PRIORITY

* there is no upgrade from 2.6.X to 3.X.Y
  last part of PV is used as kernel priority for u-a, but X is usually
  higher then Y in 3.x.x so use all 3 parts in one bigger number
* and make it weak assignment if this scheme doesn't work for some
  recipe
* if there are just 2 numbers in PV then last one is repeated twice
  (see linux-openmoko_3.2 example) but that should work fine too

  OE qemux86-64@ ~/oe-core $ grep ^KERNEL_PRIO linux-yocto_*
  linux-yocto_2.6.37.e:KERNEL_PRIORITY="20637"
  linux-yocto_3.0.e:KERNEL_PRIORITY="30024"
  linux-yocto_3.2.e:KERNEL_PRIORITY="30211"
  OE qemux86-64@ ~/oe-core $ grep ^PV linux-yocto_*
  linux-yocto_2.6.37.e:PV="2.6.37+git1+aeea99683c7283f1f3320bf2ee7085ee252d4e7e_1+af2bfbe5f757361b5b027a24d67a93bfdfaaf33c"
  linux-yocto_3.0.e:PV="3.0.24+git2+a4ac64fe873f08ef718e2849b88914725dc99c1c_2+aac580659dc0ce083f250fb05abf82e58d7f4531"
  linux-yocto_3.2.e:PV="3.2.11+git2+514847185c78c07f52e02750fbe0a03ca3a31d8f_2+4ca7e2c5d42e755e1b4c3e1478128f047a8ed2a8"

  OE qemux86-64@ ~/shr-core $ grep ^KERNEL_PRIO linux-openmoko_*
  linux-openmoko_2.6.39.e:KERNEL_PRIORITY="20639"
  linux-openmoko_3.2.e:KERNEL_PRIORITY="30202"
  linux-openmoko_git.e:KERNEL_PRIORITY="30299"
  OE qemux86-64@ ~/shr-core $ grep ^PV linux-openmoko_*
  linux-openmoko_2.6.39.e:PV="2.6.39"
  linux-openmoko_3.2.e:PV="3.2"
  linux-openmoko_git.e:PV="3.2.99+3.3.0-rc0+gitr1+7089727d63b17615fb0a652374d79cb7df0835ad"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: use symlinks for modutils files
Martin Jansa [Fri, 23 Mar 2012 12:56:27 +0000 (13:56 +0100)]
kernel.bbclass: use symlinks for modutils files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agokernel.bbclass: populate /etc/modules-load.d/ with module_autoload entries too
Martin Jansa [Fri, 23 Mar 2012 12:56:26 +0000 (13:56 +0100)]
kernel.bbclass: populate /etc/modules-load.d/ with module_autoload entries too

* /etc/modules-load.d/foo.conf is used by systemd like /etc/modutils/foo was with sysvinit

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprocps: use update-alternatives for pwdx, pgrep and watch
Andreas Oberritter [Fri, 23 Mar 2012 16:37:36 +0000 (17:37 +0100)]
procps: use update-alternatives for pwdx, pgrep and watch

* pwdx, pgrep and watch may be provided by busybox.
* Use update-alternatives to avoid conflict.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosysvinit: use update-alternatives for mountpoint and runlevel
Andreas Oberritter [Fri, 23 Mar 2012 16:37:38 +0000 (17:37 +0100)]
sysvinit: use update-alternatives for mountpoint and runlevel

* mountpoint and runlevel may be provided by busybox.
* Use update-alternatives to avoid conflict.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoppp: drop unneeded pkg-postinst
Andreas Oberritter [Fri, 23 Mar 2012 16:37:39 +0000 (17:37 +0100)]
ppp: drop unneeded pkg-postinst

* pkg-postinst was used to make pppd setuid root, which
  can now be done in do_install() instead.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-libc-headers-yocto: remove from oe-core
Bruce Ashfield [Fri, 23 Mar 2012 17:07:48 +0000 (13:07 -0400)]
linux-libc-headers-yocto: remove from oe-core

The linux-libc-headers-yocto is not required in oe-core, it can be
moved to yocto specific layers. The linux-libc-headers_* recipes
provide sufficient headers fore core users.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-libc-headers: set default LINUXLIBCVERSION to 3.2
Bruce Ashfield [Fri, 23 Mar 2012 17:07:47 +0000 (13:07 -0400)]
linux-libc-headers: set default LINUXLIBCVERSION to 3.2

Switch the default libc-headers to the 3.2 version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-libc-headers: add 3.2 headers and remove 3.1
Bruce Ashfield [Fri, 23 Mar 2012 17:07:46 +0000 (13:07 -0400)]
linux-libc-headers: add 3.2 headers and remove 3.1

The 3.1 kernel was never released or directly supported via
oe-core. So as part of update the libc-headers to 3.2 we can
take the opportunity to remove it.

Built and booted on the qemu* targets.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: Add XAUTHORITY into config white list
Dongxiao Xu [Fri, 23 Mar 2012 15:08:30 +0000 (23:08 +0800)]
bitbake.conf: Add XAUTHORITY into config white list

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopython: remove a target dependency
Gary Thomas [Fri, 23 Mar 2012 15:27:07 +0000 (09:27 -0600)]
python: remove a target dependency

The target dependency DEPENDS_sharprom does not belong in this
core recipe and should be moved to a .bbappend file in the appropriate
layer if still required.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb-cross-canadian: Fix linking issues when python support is enabled
Khem Raj [Fri, 23 Mar 2012 12:50:41 +0000 (05:50 -0700)]
gdb-cross-canadian: Fix linking issues when python support is enabled

gdb-cross-canadian was linking with static version of libpython
and looking for build host python when run. This could be mismatch
between python-nativesdk and build host provided python. So we
make it consistent to always use python-nativesdk

Instead of adding bunch of -L we add -rpath and -rpath-link
so that gdb finds all needed libraries in SDK and does not
reach out into host

This should fix yocto PR# 2077 as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoRevert "bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to...
Richard Purdie [Fri, 23 Mar 2012 12:29:21 +0000 (12:29 +0000)]
Revert "bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues"

Reluctantly revert this since it breaks the tar-native workaround we have
for old versions of tar :(

This reverts commit 01218e29f963120c77885964702198d9bce77e11.

13 years agopigz: Add update-alternatives support since this otherwise conflicts with busybox...
Richard Purdie [Wed, 21 Mar 2012 14:29:49 +0000 (14:29 +0000)]
pigz: Add update-alternatives support since this otherwise conflicts with busybox/gzip

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agomirrors.bbclass: remove dead kernel.org mirrors
Andreas Oberritter [Wed, 21 Mar 2012 15:55:21 +0000 (16:55 +0100)]
mirrors.bbclass: remove dead kernel.org mirrors

* ftp.{us,uk,hk,au,jp}.kernel.org don't have DNS A records.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosstate.bbclass: Remove possibility of file corruption and make package writing atomic
Richard Purdie [Thu, 22 Mar 2012 22:47:24 +0000 (22:47 +0000)]
sstate.bbclass: Remove possibility of file corruption and make package writing atomic

There is currently a race window when creating sstate packages since we don't
atomically write the files to SSTATE_DIR. This change ensures we do so by writing
to a temporary file and then doing an atomic move.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogst-plugins: remove obsolete orcc hack
Andreas Oberritter [Thu, 22 Mar 2012 18:20:45 +0000 (19:20 +0100)]
gst-plugins: remove obsolete orcc hack

* The sed script replacing ${bindir}/orcc with
  ${STAGING_BINDIR_NATIVE}/orcc causes orcc to not be found.
  It may have been a workaround for older versions of pkg-config
  or older gst-plugins. Removing it makes gst-plugins use
  orcc from 'orc-native' successfully, if available.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: handle diffs in commit messages
Paul Eggleton [Thu, 22 Mar 2012 17:15:05 +0000 (17:15 +0000)]
scripts/combo-layer: handle diffs in commit messages

A few recent commits in the OE-Core repository contain diffs in their
commit messages, which totally confuses git-am when applying them to the
combo repository during update. Add some code to detect and indent any
diff text in the commit message so that this does not happen (and show a
warning).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/combo-layer: limit component repo dirty check
Paul Eggleton [Thu, 22 Mar 2012 17:15:04 +0000 (17:15 +0000)]
scripts/combo-layer: limit component repo dirty check

If one or more components are specified for update, only check if their
repository/repositories are dirty rather than checking all of the
configured repositories.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopixman: disable iwmmxt
Khem Raj [Fri, 23 Mar 2012 02:56:58 +0000 (19:56 -0700)]
pixman: disable iwmmxt

Pixman build system is borked and always wants iwmmxt intrinsics
it errors like below

| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wand'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_wsrlhi'
| ../pixman/.libs/libpixman-1.so: error: undefined reference to
'__builtin_arm_walign'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agouseradd.bbclass: retry useradd/groupadd commands to avoid lock race issues
Scott Garman [Fri, 23 Mar 2012 04:43:42 +0000 (21:43 -0700)]
useradd.bbclass: retry useradd/groupadd commands to avoid lock race issues

A race condition can occur when adding users and groups to the
passwd and group files, causing errors like the following:

 ERROR: Function 'useradd_sysroot' failed
 Tried to access "/etc/group" but this was locked.

This fix will cause the useradd code to retry the useradd and
groupadd commands up to 10 times (with a 1s sleep in between
attempts) before failing.

This fixes [YOCTO #1794]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm.bbclass: ensure base-passwd and shadow get installed first
Scott Garman [Fri, 23 Mar 2012 04:43:41 +0000 (21:43 -0700)]
package_rpm.bbclass: ensure base-passwd and shadow get installed first

When generating images, we need to make sure that base-passwd and
shadow get installed before other packages, which might need to create
custom user accounts.

Thanks to Richard Purdie for the initial version of this fix.

This fixes [YOCTO #2127]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibgcc: corrected -nativesdk package namings.
Lianhao Lu [Fri, 23 Mar 2012 04:31:52 +0000 (12:31 +0800)]
libgcc: corrected -nativesdk package namings.

1. Corrected the -nativesdk package namings.

2. Fixed package QA warnings:
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc.a'
WARNING: QA Issue: non -staticdev package contains static .a library:
libgcc-nativesdk-dev path
'/work/x86_64-nativesdk-pokysdk-linux/libgcc-nativesdk-4.6.3+svnr184847-r23/packages-split/libgcc-nativesdk-dev/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/x86_64-pokysdk-linux/4.6.4/libgcc_eh.a'

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonativesdk/misc: set PKGSUFFIX for correct variable name expansion.
Lianhao Lu [Fri, 23 Mar 2012 04:31:51 +0000 (12:31 +0800)]
nativesdk/misc: set PKGSUFFIX for correct variable name expansion.

Set PKGSUFFIX in nativesdk.bbclass for correct variable name expansion.
This would fix bunch of "not shipped" packaging warnings in "-nativesdk"
recipes. And also bumping the corresponding PR.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoncurses: ship clear/reset in package.
Lianhao Lu [Fri, 23 Mar 2012 04:31:50 +0000 (12:31 +0800)]
ncurses: ship clear/reset in package.

Fixed not shipped packaging warnings.

WARNING: For recipe ncurses-nativesdk, the following files/directories
were installed but not shipped in any package:
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/reset
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/bin/clear

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogdb-cross-canadian: not shipping libiberty.
Lianhao Lu [Fri, 23 Mar 2012 04:31:49 +0000 (12:31 +0800)]
gdb-cross-canadian: not shipping libiberty.

Fixed package QA warnings.

WARNING: QA Issue: non -staticdev package contains static .a library:
gdb-cross-canadian-i586 path
'/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-i586-7.4-r6.3/packages-split/gdb-cross-canadian-i586/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/lib/libiberty.a'

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopseudo: package the var/pseudo directory.
Lianhao Lu [Fri, 23 Mar 2012 04:31:48 +0000 (12:31 +0800)]
pseudo: package the var/pseudo directory.

Fixed the "not shipped" packaging warnings.

WARNING: For recipe pseudo-nativesdk, the following files/directories
were installed but not shipped in any package:
WARNING:   /opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/var
WARNING:
/opt/poky/1.1+snapshot/sysroots/x86_64-pokysdk-linux/usr/var/pseudo

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agometa-toolchain: Popluated the libc siteconfig files.
Lianhao Lu [Fri, 23 Mar 2012 08:33:05 +0000 (16:33 +0800)]
meta-toolchain: Popluated the libc siteconfig files.

Fixed bug [YOCTO #2159] by correctly populate the libc's siteconfig
files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogst-plugins-bluetooth: Don't install headers, man pages or .pc files
Richard Purdie [Thu, 22 Mar 2012 22:01:53 +0000 (22:01 +0000)]
gst-plugins-bluetooth: Don't install headers, man pages or .pc files

We were seeing weird autobuilder failures where the bluetooth headers could disappear.
The reason why is that this recipe was conflicting with them. bluez4 should be handling
them and the plugin shouldn't be installing them so lets not.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoddimage: Add script for writing images to boot media
Darren Hart [Tue, 13 Mar 2012 19:02:51 +0000 (12:02 -0700)]
ddimage: Add script for writing images to boot media

Fixes [YOCTO #1806]

Standard practice is to use the Linux "dd" command to write images to boot
media. This can be error prone and the results of sloppy usage can be
disastrous. Locating the device you want to use is a clumsy process, especially
on a headless build system.

The ddimage script does the following:

o Check the image and device exist
o Check the device is writable
o Compare the device to a blacklist and abort if it's listed
  Blacklist defaults to "/dev/sda"
o Display useful identifying information about the image and device
o Prompt the user before commencing the write

The output looks something like this:

$ sudo ~/bin/ddimage tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg /dev/sdk
Image details
=============
    image: `tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg' -> `core-image-sato-fri2-noemgd-20111202214038.hddimg'
     size: 318568448 bytes
 modified: 2011-12-02 13:45:05.298897861 -0800
     type: x86 boot sector, code offset 0x58, OEM-ID "SYSLINUX", sectors/cluster 16, root entries 512, Media descriptor 0xf8, sectors/FAT 152, heads 64, hidden sectors 32, sectors 622204 (volumes > 32 MB) , serial number 0x4ed946e0, label: "boot       ", FAT (16 bit)

Device details
==============
  device: /dev/sdk
  vendor: Kingston
   model: DT 101 G2

Write tmp/deploy/images/core-image-sato-fri2-noemgd.hddimg to /dev/sdk [y/N]? y
Writing image...
303+1 records in
303+1 records out
318568448 bytes (319 MB) copied, 53.6766 s, 5.9 MB/s

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Dexuan Cui <dexuan.cui@intel.com>
CC: Joshua Lock <josh@linux.intel.com>
CC: Kishore K Bodke <kishore.k.bodke@intel.com>
13 years agotask-self-hosted: add pseudo
Saul Wold [Tue, 20 Mar 2012 23:05:12 +0000 (16:05 -0700)]
task-self-hosted: add pseudo

Signed-off-by: Saul Wold <sgw@linux.intel.com>
13 years agolibc-common: Apply Debian-naming to libc debug symbols too
Mike Crowe [Tue, 20 Mar 2012 17:27:43 +0000 (17:27 +0000)]
libc-common: Apply Debian-naming to libc debug symbols too

Ensure that the eglibc-dbg package follows Debian naming too if
enabled. Retain backward compatibility with old libc-dbg naming.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
13 years agoarch-powerpc.inc: use default value of TUNE_PKGARCH
Matthew McClintock [Thu, 22 Mar 2012 16:53:43 +0000 (11:53 -0500)]
arch-powerpc.inc: use default value of TUNE_PKGARCH

We can use the default value for TUNE_PKGARCH, and now we just
append "-nf" if TARGET_FPU is fpu-soft

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoconsolekit: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:02 +0000 (12:06 +0100)]
consolekit: use systemd_unitdir

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoalsa-utils: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:01 +0000 (12:06 +0100)]
alsa-utils: use systemd_unitdir

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodbus: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:06:00 +0000 (12:06 +0100)]
dbus: use systemd_unitdir

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoofono: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:59 +0000 (12:05 +0100)]
ofono: use systemd_unitdir

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobluez4: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:58 +0000 (12:05 +0100)]
bluez4: use systemd_unitdir

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoavahi.inc: use systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:57 +0000 (12:05 +0100)]
avahi.inc: use systemd_unitdir

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: add systemd_unitdir
Andreas Müller [Thu, 22 Mar 2012 11:05:56 +0000 (12:05 +0100)]
bitbake.conf: add systemd_unitdir

Some of oe-core's recipes need to know where systemd units are. Since the
directory might change in the future [1], we set the location once globally to
reduce maintenance efforts

[1] http://www.gossamer-threads.com/lists/gentoo/dev/245758

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoFix common typoes "existant", "dependant" and variations
Robert P. J. Day [Thu, 22 Mar 2012 10:05:59 +0000 (06:05 -0400)]
Fix common typoes "existant", "dependant" and variations

Fix a couple common typoes, all contained within comments so there
should be no effect on functionality.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoinsane.bbclass: maybe no log.do_compile or log.do_install
Robert Yang [Thu, 22 Mar 2012 09:55:34 +0000 (17:55 +0800)]
insane.bbclass: maybe no log.do_compile or log.do_install

The insane.bbclass grep in log.do_compile and log.do_install
unconditionally, but there maybe no such logs when mirror the pkg from
sstate cache file. We should check whether the log file exists or not
before grep in it.

Additionally, break the one too long line into two (Add a "\n").

[YOCTO #2153]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotcf-agent: Using git repository instead of svn.
Lianhao Lu [Thu, 22 Mar 2012 06:22:26 +0000 (14:22 +0800)]
tcf-agent: Using git repository instead of svn.

Fixed bug [YOCTO #2152].

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agort-tests: add patch to support passing CFLAGS/LDFLAGS
Denys Dmytriyenko [Thu, 22 Mar 2012 02:46:05 +0000 (22:46 -0400)]
rt-tests: add patch to support passing CFLAGS/LDFLAGS

Enable passing OE and Distro-specific CFLAGS/LDFLAGS to the Makefile.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agort-tests: replace dependency on eglibc with virtual/libc
Denys Dmytriyenko [Thu, 22 Mar 2012 02:46:04 +0000 (22:46 -0400)]
rt-tests: replace dependency on eglibc with virtual/libc

That is to support alternative providers of libc, such as glibc, uclibc
or even an external binary toolchain.
No PR bump is necessary here.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf: fix distro-less failure expanding FILESPATH
Denys Dmytriyenko [Thu, 22 Mar 2012 01:33:03 +0000 (21:33 -0400)]
bitbake.conf: fix distro-less failure expanding FILESPATH

If DISTRO is not set, FILESPATH becomes littered with directories like
files/${DISTRO} etc. It won't bomb until you try to eval it - i.e.
manipulating FILESPATH directly with .= works fine, but calling e.g.
base_set_filespath() throws this:

ERROR: Failure expanding variable FILESPATH, expression was ${@blah} which
triggered exception SyntaxError: EOL while scanning string literal (FILESPATH,
line 1)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoxserver-kdrive: Fix packaging warnings
Saul Wold [Wed, 21 Mar 2012 20:01:17 +0000 (13:01 -0700)]
xserver-kdrive: Fix packaging warnings

WARNING: For recipe xserver-kdrive, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/lib
WARNING:   /usr/lib/xorg
WARNING:   /usr/lib/xorg/protocol.txt
WARNING:   /usr/share/X11
WARNING:   /usr/share/X11/xkb
WARNING:   /usr/share/X11/xkb/compiled
WARNING:   /usr/share/X11/xkb/compiled/README.compiled
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoreadline: Fix RPATH Warnings for GPLv2
Saul Wold [Wed, 21 Mar 2012 22:54:34 +0000 (15:54 -0700)]
readline: Fix RPATH Warnings for GPLv2

the norpath.patch with v2 and it worked correctly?
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5.2 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libreadline.so.5 contains probably-redundant RPATH /usr/lib
WARNING: QA Issue: readline: /work/i586-poky-linux/readline-5.2-r7/packages-split/readline/usr/lib/libhistory.so.5 contains probably-redundant RPATH /usr/lib

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolttng-ust: Increase PE due to incompatible version changes related to lttng-ust2
Richard Purdie [Wed, 21 Mar 2012 23:04:57 +0000 (23:04 +0000)]
lttng-ust: Increase PE due to incompatible version changes related to lttng-ust2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versions
Richard Purdie [Wed, 21 Mar 2012 16:30:37 +0000 (16:30 +0000)]
gettext/awk/sed/grep: Backport WARNING fixes to GPLv2 versions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogzip/pigz-native: Install into a prefix to avoid clashing with system binaries
Richard Purdie [Wed, 21 Mar 2012 11:26:09 +0000 (11:26 +0000)]
gzip/pigz-native: Install into a prefix to avoid clashing with system binaries

Due to the system providing a copy of gzip, we face some issues when we
'shadow' that copy with our own leading to a varient of race type bugs,
and issues for example if a dependency such as libz is missing but the
binary is still present. We usually rely on our dependency logic to protect
us from this but for gzip, we don't have this protection since its not listed
by all its users (and doing so would be impractical).

This patch installed pigz and gzip into their own directory which we only
add to PATH when we explictly want these binaries in much the same way we do
with perl-native. This means dependency logic is correct when we use the binary
and everything should work well.

The patch adds an explict dependency into image.bbclass since the accelerated
speed of compression is most appreciated at rootfs time.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues
Richard Purdie [Wed, 21 Mar 2012 10:44:43 +0000 (10:44 +0000)]
bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues

This resolves issues related to pigz-native when installing from sstate that people
have been seeing. It also gives us a way to solve issues like the gzip-native race
during sstate package creation covered in Yocto #1774.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory_analysis: avoid printing PE/PV/PR more than once
Paul Eggleton [Tue, 20 Mar 2012 16:06:28 +0000 (16:06 +0000)]
buildhistory_analysis: avoid printing PE/PV/PR more than once

Don't print PE/PV/PR changes as related field changes of related field
changes (i.e. only print them once at the top level).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory_analysis: report if all items removed from a list
Paul Eggleton [Tue, 20 Mar 2012 16:06:27 +0000 (16:06 +0000)]
buildhistory_analysis: report if all items removed from a list

If all items have been removed from a list then state that explicitly.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory_analysis: skip FILELIST changes for dbg packages
Paul Eggleton [Tue, 20 Mar 2012 16:06:26 +0000 (16:06 +0000)]
buildhistory_analysis: skip FILELIST changes for dbg packages

Don't report when files are added or removed from dbg packages unless
it results in the package being empty.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory_analysis: hide version number increases in dependencies
Paul Eggleton [Tue, 20 Mar 2012 16:06:25 +0000 (16:06 +0000)]
buildhistory_analysis: hide version number increases in dependencies

If an item in RDEPENDS or RRECOMMENDS only increases in its version
number then don't report it as a change, since we don't care about
it. This significantly reduces the noise after upgrades.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuildhistory_analysis: use bb.utils.explode_dep_versions
Paul Eggleton [Tue, 20 Mar 2012 16:06:24 +0000 (16:06 +0000)]
buildhistory_analysis: use bb.utils.explode_dep_versions

Previously this had its own implementation of splitting a list of
packages with optional version e.g. "libncurses-dev (>= 5.9)"; switch to
using the already existing bitbake function which does this as it is
much better tested.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolttng-2.0/lttng-ust: Change recipe name to lttng2-ust.
Lianhao Lu [Wed, 21 Mar 2012 09:41:07 +0000 (17:41 +0800)]
lttng-2.0/lttng-ust: Change recipe name to lttng2-ust.

Change the recipe name lttng-ust from lttng-2.0 to lttng2-ust so that
that both the lttng-ust of the old framework and of the new framework
lttng-2.0 can coexist.

Fixed bug [YOCTO #2062].

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoparted: update to version 3.1
Andreas Oberritter [Wed, 21 Mar 2012 14:08:25 +0000 (14:08 +0000)]
parted: update to version 3.1

* Supports disks > 2TB

[RP:Add in missing delta of fixed in subsequent version]
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agosyslinux: fix stripped file warnings
Paul Eggleton [Wed, 21 Mar 2012 12:12:42 +0000 (12:12 +0000)]
syslinux: fix stripped file warnings

Fix the following package warnings:
WARNING: File '/usr/bin/memdiskfind' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/syslinux' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/gethostip' from syslinux was already stripped, this will prevent future debugging!
WARNING: File '/usr/bin/isohybrid' from syslinux was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolibacpi: fix stripped file warning
Paul Eggleton [Wed, 21 Mar 2012 12:12:41 +0000 (12:12 +0000)]
libacpi: fix stripped file warning

Fix the following package warning:
WARNING: File '/usr/bin/test-libacpi' from libacpi was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agohdparm: fix stripped file warning
Paul Eggleton [Wed, 21 Mar 2012 12:12:40 +0000 (12:12 +0000)]
hdparm: fix stripped file warning

Fix the following package warning:
WARNING: File '/sbin/hdparm.hdparm' from hdparm was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agodistro_tracking: update openssl
Scott Garman [Wed, 21 Mar 2012 00:33:38 +0000 (17:33 -0700)]
distro_tracking: update openssl

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoopenssl: upgrade to 1.0.0.h
Scott Garman [Tue, 20 Mar 2012 06:11:25 +0000 (23:11 -0700)]
openssl: upgrade to 1.0.0.h

Removed pkg-config.patch, which was incorporated upstream.

Addresses CVE-2012-0884.

Fixes bug [YOCTO #2139].

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoscripts/qemuimage-testlib: fix typos
Yi Zhao [Wed, 21 Mar 2012 06:33:49 +0000 (14:33 +0800)]
scripts/qemuimage-testlib: fix typos

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotask-self-hosted: add nfs-utils and nfs-utils-client into the target
Dexuan Cui [Mon, 19 Mar 2012 03:13:54 +0000 (11:13 +0800)]
task-self-hosted: add nfs-utils and nfs-utils-client into the target

Without this, in the target, we don't have the mount.nfs utility.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
13 years agocleanup-workdir: add a script to clean up WORKDIR
Kang Kai [Tue, 6 Mar 2012 03:19:15 +0000 (11:19 +0800)]
cleanup-workdir: add a script to clean up WORKDIR

[Yocto 1561]
Add script cleanup-workdir to clean up WORKDIR. It checks every
package build directories under WORKDIR then parse the directory
name to get package name and version. If the version is not the
package prefer version then delete the directory.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
13 years agoparted: update to version 3.1
Andreas Oberritter [Thu, 15 Mar 2012 22:17:52 +0000 (23:17 +0100)]
parted: update to version 3.1

* Supports disks > 2TB

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13 years agodistro_tracking: updates for upgraded recipes and manual checks
Scott Garman [Thu, 15 Mar 2012 21:55:25 +0000 (14:55 -0700)]
distro_tracking: updates for upgraded recipes and manual checks

Upgraded e2fsprogs recipe.

Manual checks done for libpng, libgdbus, expat, chrpath, opensp,
and nfs-utils.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agoe2fsprogs: upgrade to 1.42.1
Scott Garman [Thu, 15 Mar 2012 21:12:15 +0000 (14:12 -0700)]
e2fsprogs: upgrade to 1.42.1

Includes minor tweaks to the formatting of some patch headers and the
addition of a SOB line where needed.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
13 years agodistro-tracking: Remove trailing whitespace
Darren Hart [Fri, 16 Mar 2012 16:46:17 +0000 (09:46 -0700)]
distro-tracking: Remove trailing whitespace

Remove all trailing whitespace from the distro tracking text.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Saul Wold <sgw@linux.intel.com>