]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
13 years agoghostscript: Fixes for parallel_make
Richard Purdie [Wed, 28 Mar 2012 11:12:31 +0000 (11:12 +0000)]
ghostscript: Fixes for parallel_make

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoprocps: don't print error message with kernel 3.0+
Andreas Oberritter [Tue, 27 Mar 2012 21:33:24 +0000 (23:33 +0200)]
procps: don't print error message with kernel 3.0+

* All procps tools print a message like this when the kernel
  version consists of only two numbers:

| Non-standard uts for running kernel:
| release ... gives version code ...

* Import a patch from Debian to quieten this message.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopowerpc e500: set -mfloat-gprs=double
Christopher Larson [Tue, 27 Mar 2012 19:51:08 +0000 (14:51 -0500)]
powerpc e500: set -mfloat-gprs=double

Use of FPRs instead of GPRs is incompatible with e500/SPE, so let's be
explicit about the use of GPRs to avoid potential errors. For example, with
the Sourcery G++ toolchain, one can hit: conftest.c:1:0: error: E500 and FPRs
not supported.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoexternal-csl: add mapping for powerpc-nf
Christopher Larson [Tue, 27 Mar 2012 19:51:07 +0000 (14:51 -0500)]
external-csl: add mapping for powerpc-nf

This ensures we get the files from the correct multilib dir in the external
toolchain when using powerpc with soft-float.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoscripts/bitbake: Update to help rebuild pseudo-native
Mark Hatle [Tue, 27 Mar 2012 21:57:31 +0000 (16:57 -0500)]
scripts/bitbake: Update to help rebuild pseudo-native

Attempt to detect when pseudo-native has been updated.  If it has been updated,
or if the user is attempting an operation with pseudo-native in the name, force
a build of pseudo-native, prior to running the main build.

Note: This causes a build, then clean in the case of
   bitbake -c cleansstate pseudo-native

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoPseudo: Update to 1.3
Peter Seebach [Tue, 27 Mar 2012 21:57:30 +0000 (16:57 -0500)]
Pseudo: Update to 1.3

The various local patches have made it into upstream, so we update
the build files and jump to pseudo 1.3.  This also includes a popen()
fix which fixes some edge cases that caused failures trying to check
git branches and the like.

[Yocto bug #2181]

Signed-off-by: Seebs <peter.seebach@windriver.com>
Updated the pseudo_git.bb to match.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolocal.conf.sample.extended: Add documentation of archive source code configuration
Richard Purdie [Wed, 28 Mar 2012 08:31:19 +0000 (09:31 +0100)]
local.conf.sample.extended: Add documentation of archive source code configuration

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agozypper: Fix build with gcc 4.7
Khem Raj [Wed, 28 Mar 2012 02:41:05 +0000 (19:41 -0700)]
zypper: Fix build with gcc 4.7

More details in patch header

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agolinux-yocto: support externalsrc builds
Bruce Ashfield [Wed, 28 Mar 2012 02:31:14 +0000 (22:31 -0400)]
linux-yocto: support externalsrc builds

There are a few extra task that modify the source tree that should
be removed when externalsrc is inherited by a recipe that uses a
linux-yocto tree.

Adding those tasks to SRCTREECOVEREDTASKS means that they are skipped
and externalsrc works as intended.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agotune/armv7: Delete
Khem Raj [Wed, 28 Mar 2012 01:37:45 +0000 (18:37 -0700)]
tune/armv7: Delete

armv7 is least common denominator of armv7-a
armv7-m and armv7-r and armv7-m does not support
ARM instructions but only thumb2 instruction set
which means armv7 when chosen will complain if
code is compiled in arm mode which is default
in OE if not specified other wise

if we chose this tuning errors like below pop up

error: target CPU does not support ARM mode

This tuning seems theoretical and base tune
for armv7 would be one of armv7-a,  armv7-m or
armv7-r

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agonspr 4.8.9: failed to build on x86_64 board
Robert Yang [Tue, 27 Mar 2012 09:37:17 +0000 (17:37 +0800)]
nspr 4.8.9: failed to build on x86_64 board

nspr failed to build on x86_64 board(e.g., qemux86-64):

x86_64-poky-linux-gcc    -m64 ... -m32 ...
...
fatal error: gnu/stubs-32.h: No such file or directory

This is because there are both '-m64' and '-m32' in gcc's options, and
the later one is used, but what we need is '-m64' since it is x86_64,
this is caused by an incorrect logic in configure.in, we should assume
that the pkg uses 64bit when target_cpu is x86_64 (it has two options:
--enable-n32 and --enable-64bit, both of them are not set by default),
we only can assume that the pkg uses 32bit when USE_N32 is set. But
what it did was that assumed 32bit when target_cpu was x86_64 unless
--enable-64bit was set, this seems unreasonable and caused the "gcc -m64
-m32" error.

Some had noticed this error before:
https://lists.yoctoproject.org/pipermail/poky/2011-May/005799.html

NOTE:
* Both fix configure and configure.in since we can't run the
  "autoreconf" for nsrp, please see more explanation in
  trickly-fix-build-on-x86_64.patch.

* Also fixed powerpc64, this is just fixed by conclusion since we don't
  suport ppc64.

[YOCTO #2179]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocontacts.inc: conditionally install shema
Robert Yang [Tue, 27 Mar 2012 07:01:42 +0000 (15:01 +0800)]
contacts.inc: conditionally install shema

Install schema should respect to GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL,
If GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL is set, the schema should not
be installed, but it always installed shema before, this was incorrect
and it would cause host contamination since it would read
$HOME/gconf/.gconf.

[YOCTO #2178]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agocontacts 0.9: failed to build
Robert Yang [Tue, 27 Mar 2012 07:01:41 +0000 (15:01 +0800)]
contacts 0.9: failed to build

contacts_0.9.bb failed to build since lacks of:

* SRC_URI[md5sum] or SRC_URI[sha256sum]
* LIC_FILES_CHKSUM

And an indent error in Makefile.am.

Fix these problems at the moment, maybe we should remove this old
version recipe since there is a contacts_git.bb

[YOCTO #2178]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage_types: remove duplicate setting of -i for inode count
Saul Wold [Tue, 27 Mar 2012 05:43:00 +0000 (22:43 -0700)]
image_types: remove duplicate setting of -i for inode count

inode count is already set in the EXTRA_IMAGECMD definition

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agobuilder: Enable auto starting of Hob
Saul Wold [Tue, 27 Mar 2012 05:42:59 +0000 (22:42 -0700)]
builder: Enable auto starting of Hob

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agovmdk: Update for direstdisk
Saul Wold [Tue, 27 Mar 2012 05:42:58 +0000 (22:42 -0700)]
vmdk: Update for direstdisk

The conversion to directdisk is necessary due to the limitation
in the mkdosfs version we carry and larger filesystems.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoboot-directdisk: Fix Block Calcuation
Saul Wold [Tue, 27 Mar 2012 05:42:57 +0000 (22:42 -0700)]
boot-directdisk: Fix Block Calcuation

This also changes the timeout to be settable

The block calcuation was not correctly rounding, see comment

Thanks to Darren Hart for fixing this.

Cc: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoimage-vmdk: Add symbolic link for a short named vmdk image
Saul Wold [Tue, 27 Mar 2012 05:42:56 +0000 (22:42 -0700)]
image-vmdk: Add symbolic link for a short named vmdk image

This adds a link from the date stamped vmdk image to a shortened
name file.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoself-hosted-image: pre-populate the builder user with poky source
Dexuan Cui [Tue, 27 Mar 2012 05:42:55 +0000 (22:42 -0700)]
self-hosted-image: pre-populate the builder user with poky source

This patch installs the poky source into the /home/builder/poky/ of the
self-hosted-image.
This makes the user of self-hosted-image easier to start a build.

I think the recent poky master is stable enough, so I specify
a commit number by SRCREV -- we may want to update this number before
releasing 1.2.

This patch fixes [YOCTO #2065]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Added code for supporting target based pseudo
fixed indentation

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agogcc-cross-canadian: Clean non shipped empty directories.
Lianhao Lu [Tue, 27 Mar 2012 04:38:29 +0000 (12:38 +0800)]
gcc-cross-canadian: Clean non shipped empty directories.

Cleaning up non shipped empty directories.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoguile: Deal with hardcoded path issues
Richard Purdie [Mon, 26 Mar 2012 23:22:27 +0000 (23:22 +0000)]
guile: Deal with hardcoded path issues

Without this build of autogen-native break if the guile-native package has been
recloated.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agorootfs_ipk: replace 3 opkg-cl calls with one in get_package_filename
Martin Jansa [Fri, 23 Mar 2012 22:30:49 +0000 (23:30 +0100)]
rootfs_ipk: replace 3 opkg-cl calls with one in get_package_filename

* || true is needed for cases where grep doesn't find anything
* and quotes around info are needed to keep line breaks

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoclasses: scons: add EXTRA_OESCONS
Denis 'GNUtoo' Carikli [Fri, 23 Mar 2012 22:30:42 +0000 (23:30 +0100)]
classes: scons: add EXTRA_OESCONS

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarchive-configured-source.bbclass: Archive configured source
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:36 +0000 (18:49 +0800)]
archive-configured-source.bbclass: Archive configured source

This bbclass prepares for archiving configured source.

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agoarchive-original-source.bbclass: Archive original source
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:29 +0000 (18:49 +0800)]
archive-original-source.bbclass: Archive original source

This bbclass prepares for archiving original source.
If original source is tarball, then copy this tarball to
${DEPLOY_DIR}/sources.
If original source is dirctory, then archive this directory to
tarball

[YOCTO #1977]

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

1 Archive sources in ${S} in the different stage
  (do_unpack,do_patch,do_configure).
2 Archive patches including series
3 Archive logs including scripts (.bb and .inc files)
4 dump environment resources which show all variable and functions
  used to xxx.showdata.dump when running a task
5 dump all content in 's' including patches to file xxx.diff.gz

All archiving packages  will be deployed to ${DEPLOY_DIR}/sources/

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 years agopackage_rpm: Add srpm function to this bbclass
Xiaofeng Yan [Mon, 26 Mar 2012 10:49:23 +0000 (18:49 +0800)]
package_rpm: Add srpm function to this bbclass

Add a new function to archive source, patches and logs to a source rpm
package. Every source rpm package will be deployed to
${DEPLOY_DIR}/sources/deploy-srpm

[YOCTO #1977]

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>