]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agodocumentation/bsp-guide/bsp-guide.xml: Updated copyright
Scott Rifenbark [Fri, 25 Feb 2011 14:18:02 +0000 (08:18 -0600)]
documentation/bsp-guide/bsp-guide.xml: Updated copyright

Changed copyright date from "2010" to "2010-2011"

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual/poky-ref-manual.xml: updated copyright date
Scott Rifenbark [Fri, 25 Feb 2011 14:01:49 +0000 (08:01 -0600)]
documentation/poky-ref-manual/poky-ref-manual.xml: updated copyright date

Changed the copyright upper date from 2010 to 2011.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoEmenlow Removal from Poky Core: meta-emenlow
Beth Flanagan [Thu, 24 Feb 2011 22:34:59 +0000 (14:34 -0800)]
Emenlow Removal from Poky Core: meta-emenlow

Removing Emenlow from poky core as it is now in meta-intel as a BSP layer

[BUGID #769]

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agopoky-qemu: handle cases where an nfs directory contains -image-
Scott Garman [Thu, 24 Feb 2011 19:23:28 +0000 (11:23 -0800)]
poky-qemu: handle cases where an nfs directory contains -image-

Previously we mistakenly assumed that any argument which contained
*-image-* was the name of a rootfs image file. This allows nfs
directory paths to work correctly when they contain this substring.

This fixes [BUGID #743]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agolibuser: enable documentation
Scott Garman [Wed, 23 Feb 2011 22:14:12 +0000 (14:14 -0800)]
libuser: enable documentation

Added popt to DEPENDS. This fixes the following build error:

apps/luserdel.c:25:18: fatal error: popt.h: No such file or directory

Remove patch and configure flag which had disabled doc generation

Add docbook-utils-native and linuxdoc-tools-native to DEPENDS

This fixes [BUGID #213]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agolinuxdoc-tools-native: new recipe v0.99.6
Scott Garman [Thu, 24 Feb 2011 23:57:32 +0000 (15:57 -0800)]
linuxdoc-tools-native: new recipe v0.99.6

This package includes utilities such as sgml2html and sgml2txt,
which are used by other packages (e.g, libuser) for building
documentation.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agopackage.bbclass: Ensure dependency version information is preserved
Richard Purdie [Fri, 25 Feb 2011 16:31:46 +0000 (16:31 +0000)]
package.bbclass: Ensure dependency version information is preserved

[BUGID #176]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopackage.bbclass: Use hard link for package split instead of copy
Dongxiao Xu [Mon, 6 Dec 2010 12:26:08 +0000 (20:26 +0800)]
package.bbclass: Use hard link for package split instead of copy

When doing package split, we use hard link instead of copy, which can
save about 10% disk space when building poky-image-minimal.

If fail, it will fall back to the copyfile function.

[Updated by Richard to use os.link and avoid an exec() call per file]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agodropbear: add SRC_URI checksums
Joshua Lock [Fri, 25 Feb 2011 10:24:27 +0000 (10:24 +0000)]
dropbear: add SRC_URI checksums

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopackage.bbclass: Unbreak per file dependencies and blacklist doc packages
Richard Purdie [Fri, 25 Feb 2011 12:13:27 +0000 (12:13 +0000)]
package.bbclass: Unbreak per file dependencies and blacklist doc packages

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogtk+: disable build of faq and tutorial docs
Scott Garman [Thu, 24 Feb 2011 03:32:50 +0000 (19:32 -0800)]
gtk+: disable build of faq and tutorial docs

Joshua Lock noted that these problematic doc builds have been removed
upstream, and they are really superfluous for embedded builds.

This fixes [BUGID #741]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoSuppress useless warnings during udev startup
Gary Thomas [Thu, 17 Feb 2011 18:35:41 +0000 (11:35 -0700)]
Suppress useless warnings during udev startup

I have a number of platforms which have no realtime clock
(i.e. no sense of what day/time it is).  On these platforms,
poky dutifully tries to keep somewhat sane with stored
time stamps that are saved on reboot and restored early
on during initialization.  A fair compromise.

However, before that code runs, the udev script tries to
restore well known devices using tar.  This will often
lead to messages such as these since the kernel has no
way to set the time:
   tar: dev/pts: implausibly old time stamp 1970-01-01 00:00:00
   tar: dev/char/3:134: time stamp 1970-01-01 00:00:09 is 0.435041705 s in the future

The attached patch filters these messages out as they don't
convey anything useful and indeed are worrisome to more naive
users.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

>From a6773d3e00dbd168817730fff1c3fc7e1b6950f5 Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@mlbassoc.com>
Date: Thu, 17 Feb 2011 11:30:18 -0700
Subject: [PATCH] Suppress messages about bad time stamps during initial device setup

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoperl: import parallel build fixes from upstream git tree
Nitin A Kamble [Wed, 23 Feb 2011 21:01:34 +0000 (13:01 -0800)]
perl: import parallel build fixes from upstream git tree

The parallel build issue is fixed in the upstream perl git tree
differently. Replacing our fix with the upstream fix.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agopoky-qemu: Update -sdk image name due to recent change to sato-sdk
Saul Wold [Thu, 24 Feb 2011 17:54:06 +0000 (09:54 -0800)]
poky-qemu: Update -sdk image name due to recent change to sato-sdk

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopoky-setup-builddir: Update references to the manual
Richard Purdie [Thu, 24 Feb 2011 20:44:57 +0000 (20:44 +0000)]
poky-setup-builddir: Update references to the manual

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake: Add new UI hob, a prototype Gtk+ GUI for creating images
Joshua Lock [Wed, 2 Feb 2011 13:02:43 +0000 (13:02 +0000)]
bitbake: Add new UI hob, a prototype Gtk+ GUI for creating images

Hob is a first stab at implementing an interactive GUI for BitBake.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agobitbake: introduce crumbs.TaskListModel a gtk.ListStore subclass
Joshua Lock [Wed, 12 Jan 2011 12:24:04 +0000 (12:24 +0000)]
bitbake: introduce crumbs.TaskListModel a gtk.ListStore subclass

Provide a gtk.ListStore subclass which includes a function,
populate(), which takes as input the data emitted by
bb.event.TargetsTreeGenerated and fills the ListStore model
appropriately.
Furthermore convenience functions are provided by which the caller can
get gtk.TreeModel subclasses which provide filtered views of the data.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoEnsure Bash is used when spawning terminals
Joshua Lock [Wed, 23 Feb 2011 11:59:59 +0000 (11:59 +0000)]
Ensure Bash is used when spawning terminals

We rely on Bashisms when spawning a terminal so ensure that bash is used
when using devshell and menuconfig.

Fixes [BUGID #119]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopoky-lsb.conf: remove OVERRIDES
Saul Wold [Wed, 23 Feb 2011 23:47:28 +0000 (15:47 -0800)]
poky-lsb.conf: remove OVERRIDES

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agomtd-utils: Set the revision to use explicitly else failures occur with BB_NO_NETWORK
Richard Purdie [Wed, 23 Feb 2011 23:43:16 +0000 (23:43 +0000)]
mtd-utils: Set the revision to use explicitly else failures occur with BB_NO_NETWORK

[BUGID #752]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky.conf: Weakly set PREMIRRORS
Richard Purdie [Wed, 23 Feb 2011 23:36:40 +0000 (23:36 +0000)]
poky.conf: Weakly set PREMIRRORS

We should only weakly set PREMIRRORS as users often want to override this.

[BUGID #753]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agopoky-lsb.conf: Add DISTROOVERRIDES variable for poky
Saul Wold [Wed, 23 Feb 2011 22:25:22 +0000 (14:25 -0800)]
poky-lsb.conf: Add DISTROOVERRIDES variable for poky

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agobitbake.conf: Add DISTROOVERRIDES variable
Saul Wold [Wed, 23 Feb 2011 22:22:30 +0000 (14:22 -0800)]
bitbake.conf: Add DISTROOVERRIDES variable

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoxserver-nodm-init: add rootless-x support
Yu Ke [Tue, 22 Feb 2011 12:41:19 +0000 (20:41 +0800)]
xserver-nodm-init: add rootless-x support

most rootless X work are already done in the kernel, xserver and
graphics driver, this patches add the the remaining userspace setting:

- create /etc/X11/Xusername to set rootless X user
- add rootless X user to group video, tty to access /dev/tty[0-4]
  and /dev/dri/card0
- grant rootless X user access right to /dev/input/*, /var/log

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agoxf86-video-intel: add config option to support rootless X
Yu Ke [Tue, 22 Feb 2011 12:36:45 +0000 (20:36 +0800)]
xf86-video-intel: add config option to support rootless X

- add global config option ROOTLESS_X to control if enable
  rootless X for the machine. ROOTLESS_X requires graphics
  driver supporting KMS (kernel mode setting), so far, only
  atom_pc support this. so enable ROOTLESS_X for atom_pc machine

- add config options for xf86-video-intel to support rootless X

Signed-off-by: Yu Ke <ke.yu@intel.com>
14 years agodocumentation/poky-ref-manual/faq.xml: [BUGID# 628] - Added new question for Python...
Scott Rifenbark [Fri, 18 Feb 2011 18:30:56 +0000 (12:30 -0600)]
documentation/poky-ref-manual/faq.xml: [BUGID# 628] - Added new question for Python 2.6 requirement.

As part of the fix for #628 I added a new question to the FAQ for use
of Poky when you do not have Python 2.6.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 628] - Added note about...
Scott Rifenbark [Fri, 18 Feb 2011 17:26:05 +0000 (11:26 -0600)]
documentation/yocto-project-qs/yocto-project-qs.xml: [BUGID# 628] - Added note about Python 2.6 bitbake requirement

Part of the fix for Bug 628 is to add a note that bitbake requires
python 2.6.  I added this note before the example bitbake command
that builds an image.  I also added a linked reference to the Poky
Reference Manual and mentioned the FAQ appendix.  There will be more
information about the python requirement in the FAQ.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agobitbake: Remove in-tree version
Khem Raj [Wed, 23 Feb 2011 18:48:51 +0000 (10:48 -0800)]
bitbake: Remove in-tree version

Bitbake should be used by checking it out from its own repo

Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 years agodistrodata.bbclass: Fix some issues when checking upstream version on sourceforge
Mei Lei [Wed, 23 Feb 2011 11:35:04 +0000 (19:35 +0800)]
distrodata.bbclass: Fix some issues when checking upstream version on sourceforge

Signed-off-by: Mei Lei <lei.mei@intel.com>
14 years agolinux-yocto: enable audio for selected qemu targets
Bruce Ashfield [Tue, 22 Feb 2011 17:28:19 +0000 (12:28 -0500)]
linux-yocto: enable audio for selected qemu targets

Fixes [BUGID #488 #734]

Enable audio for qemux86/qemux86-64 via the following kernel
configuration options.

  CONFIG_SOUND_OSS_CORE=y
  CONFIG_SOUND_OSS_CORE_PRECLAIM=y
  CONFIG_SND_RAWMIDI=m
  CONFIG_SND_SEQUENCER=y
  CONFIG_SND_OSSEMUL=y
  CONFIG_SND_MIXER_OSS=y
  CONFIG_SND_PCM_OSS=y
  CONFIG_SND_PCM_OSS_PLUGINS=y
  CONFIG_SND_SEQUENCER_OSS=y
  CONFIG_SND_RAWMIDI_SEQ=m
  CONFIG_SND_AC97_CODEC=m
  CONFIG_SND_ENS1370=m
  CONFIG_SND_INTEL8X0=m
  CONFIG_AC97_BUS=m

The mechanism to trigger these options is in the form of an
optional kernel feature that is only appended for qemux86
and qemux86-64, but is contained within the kernel tree.

This allows several things:

  - the options to be available/shared for all boards
  - the options to be in tree
  - to not add the options to every board, which unecessarily
    bloats the default configuration.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoopenjade-native: run install-catalog from SSTATEPOSTINSTFUNCS
Scott Garman [Wed, 23 Feb 2011 05:55:40 +0000 (21:55 -0800)]
openjade-native: run install-catalog from SSTATEPOSTINSTFUNCS

Otherwise the sgml-docbook.cat catalog would not be updated when a build
from sstate cache is run.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodocbook-dsssl-stylesheets-native: run install-catalog from SSTATEPOSTINSTFUNCS
Scott Garman [Wed, 23 Feb 2011 02:43:43 +0000 (18:43 -0800)]
docbook-dsssl-stylesheets-native: run install-catalog from SSTATEPOSTINSTFUNCS

Otherwise the sgml-docbook.cat catalog would not be updated when a build
from sstate cache is run.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodocbook-sgml-dtd-native.inc: run install-catalog from SSTATEPOSTINSTFUNCS
Scott Garman [Wed, 23 Feb 2011 02:36:57 +0000 (18:36 -0800)]
docbook-sgml-dtd-native.inc: run install-catalog from SSTATEPOSTINSTFUNCS

Otherwise the sgml-docbook.cat catalog would not be updated when a build
from sstate cache is run.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agosstate.bbclass: add SSTATEPOSTINSTFUNCS
Scott Garman [Wed, 23 Feb 2011 02:32:45 +0000 (18:32 -0800)]
sstate.bbclass: add SSTATEPOSTINSTFUNCS

When doing builds using sstate cache, there was no way to run
the equivalent of a pkg_postinst function. This is needed by
the SGML-related documentation recipes to properly update the
catalog files when new DTDs and stylesheets are installed.

SSTATEPOSTINSTFUNCS is a new variable you can set to function(s)
in your recipe to run after install is completed from sstate.

Thanks to Richard Purdie for suggesting this solution.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agobitbake/build.py: Fix TaskFailed parameters
Richard Purdie [Wed, 23 Feb 2011 15:06:34 +0000 (15:06 +0000)]
bitbake/build.py: Fix TaskFailed parameters

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/data_smart: Improve Variable expansion error handling
Richard Purdie [Wed, 23 Feb 2011 13:13:31 +0000 (13:13 +0000)]
bitbake/data_smart: Improve Variable expansion error handling

If expanding a variable triggers an exception the caller currently has no
way to supress the error message or otherwise handle the siutation. An
example of where this is a problem is "bitbake -e" showing tracebacks and
errors for variables like SRCPV in OE/Poky.

Secondly in a chained expansion fails, log mesages are recorded for
every step of the expansion, not just the innermost error which is
where the real failure occured.

To fix this we introduce a new exception ExpansionError which callers
can handle as appropriate.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/data_smart: Improve the way lazyassignment works
Richard Purdie [Wed, 23 Feb 2011 11:48:01 +0000 (11:48 +0000)]
bitbake/data_smart: Improve the way lazyassignment works

Currently, if a variable has been set with ??= and the code looks it up
before the data finalisation phase, no value is found. This is causes
serious problems for anonymous python functions which manipulate data, or
for the fetcher revision handling code where revisions can be set with
??=.

There is also a significant performance implication for processing lazy
assignment in finalise.

Moving the check for a default value into getVarFlag addresses both
the timing issue and the performace. This change gives a 7% real time
performance improvement to parsing the Poky metadata. The cost of the
check at this point is minimal since we have all the data flags available.

This should also fix Yocto bug 752.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fetch2: Ensure SRCREV_pn-PN is checked for a revision when the SRC_URI is...
Richard Purdie [Wed, 23 Feb 2011 11:47:50 +0000 (11:47 +0000)]
bitbake/fetch2: Ensure SRCREV_pn-PN is checked for a revision when the SRC_URI is unnamed

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/cooker: Fix parsing failure zombie problem
Richard Purdie [Wed, 23 Feb 2011 11:09:07 +0000 (11:09 +0000)]
bitbake/cooker: Fix parsing failure zombie problem

When parsing if a SystemExit event is triggered, it causes the parsing thread to
exit and the main process hangs waiting for it to finish indefintely. Add code to
catch BaseExceptions and raise these with the main process gracefully instead
of just hanging indefinitely with zombie processes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/BBHandler: Improve handling of multiline comments and warn users of the change
Richard Purdie [Tue, 22 Feb 2011 21:45:26 +0000 (21:45 +0000)]
bitbake/BBHandler: Improve handling of multiline comments and warn users of the change

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoRemove all comments from multiline expressions (as mentioned in bug #704)
Richard Purdie [Tue, 22 Feb 2011 21:38:09 +0000 (21:38 +0000)]
Remove all comments from multiline expressions (as mentioned in bug #704)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoqemu: enable audio support
Zhai Edwin [Tue, 22 Feb 2011 01:58:11 +0000 (09:58 +0800)]
qemu: enable audio support

On qemux86, export ac97 & es1370 emulated device to guest, and enable host oss&alsa
driver. So end user can get sound from qemux86 guest if the sound card
driver installed.

[BUGID #488] got fixed.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agomklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNC
Dexuan Cui [Wed, 16 Feb 2011 09:16:39 +0000 (17:16 +0800)]
mklibs-native: fix the build on Ubuntu 9.04 by defining STT_GNU_IFUNC

mklibs-native needs elf.h (that is supplied by libc6-dev).
since STAGING_INCDIR_NATIVE doesn't contain elf.h (we don't have eglibc-native),
so the host's /usr/include/elf.h is used.
Unluckily, the libc6-dev in Ubuntu 9.04 is so old that the elf.h doesn't
define STT_GNU_IFUNC, so we have to define it ourselves.

Fixes [BUGID #726]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agopackage_deb.bbclass: Place the whole task under fakeroot context to fix build failures
Richard Purdie [Tue, 22 Feb 2011 10:53:15 +0000 (10:53 +0000)]
package_deb.bbclass: Place the whole task under fakeroot context to fix build failures

If we don't do this, the ipk/rpm backends can create temporary files and then
when the deb package creates new files, those inodes can be reused and permission
confusion results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogst-meta-base: add uridecodebin library support
Dongxiao Xu [Tue, 22 Feb 2011 08:15:38 +0000 (16:15 +0800)]
gst-meta-base: add uridecodebin library support

libowl-av tries to use playbin2 defaultly, which needs uridecodebin
support from gst-plugins-base.

This fixes both [BUGID #615] and [BUGID #616]

CC: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agolinux.inc: remove the obsolete linux.inc kernel recipe include
Darren Hart [Fri, 18 Feb 2011 23:38:12 +0000 (15:38 -0800)]
linux.inc: remove the obsolete linux.inc kernel recipe include

linux.inc was used by older kernel recipes which have now been removed from the
core meta data. I references machines now only defined in meta-extras. The
configure prepend mangles the kernel .config in non-intuitive ways and the
install peroforms some odd boot image manipulation that is not used nor required
by supported machines. The required functionality, such as defconfig setup, has
already been moved to the kernel bbclass. Remove linux.inc to avoid confusion
for new kernel recipe authors and clean up the kernel meta data.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agolinux-2.6.33.2: remove linux-2.6.33.2 recipe
Darren Hart [Fri, 18 Feb 2011 23:32:38 +0000 (15:32 -0800)]
linux-2.6.33.2: remove linux-2.6.33.2 recipe

The one machine listed for this kernel recipe does not have a machine config.
This recipe uses some older mechanism which are being phased out. Remove it to
avoid confusion and clean up the kernel recipes metadata.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agolinux-2.6.23: remove the linux-2.6.23 recipe
Darren Hart [Fri, 18 Feb 2011 23:25:04 +0000 (15:25 -0800)]
linux-2.6.23: remove the linux-2.6.23 recipe

The machines supported by this recipe were either recently removed or simply
not defined.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agozaurus: remove zaurus linux includes
Darren Hart [Fri, 18 Feb 2011 23:17:21 +0000 (15:17 -0800)]
zaurus: remove zaurus linux includes

Zaurus support was removed with:

673abd92f999829bdd67d0273c43570a62123a63
conf/machine: Drop older machines with no recent updates

which removed both the linux-rp and sharp-flash-header recipes required by the
zaurus includes removed by this patch.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
14 years agoADT: Fix check_result script cond comparison bug
Liping Ke [Mon, 21 Feb 2011 21:36:15 +0000 (05:36 +0800)]
ADT: Fix check_result script cond comparison bug

When meeting errors, the return number can't be directly compared with
-1. Actually, it might be represented as 255. The correct way is to
compared it with 0. If the result is non-zero number, we meet error.
This patch is for fixing [BUGID #742]

Signed-off-by: Liping Ke <liping.ke@intel.coom>
14 years agodistrodata.bbclass: Fix some bugs for rpm,icu and quicky recipe when checking upstrea...
Mei Lei [Mon, 21 Feb 2011 06:34:19 +0000 (14:34 +0800)]
distrodata.bbclass: Fix some bugs for rpm,icu and quicky recipe when checking upstream version

Fix some bugs in checkpkg function when checking upstream version

Signed-off-by: Mei Lei <lei.mei@intel.com>
14 years agolibtool: avoid absolute pathnames of general utils
Nitin A Kamble [Fri, 18 Feb 2011 18:13:48 +0000 (10:13 -0800)]
libtool: avoid absolute pathnames of general utils

addded a new patch:
libtool/avoid_absolute_paths_for_general_utils.patch

This fixes [BUGID #154]
This fixes [BUGID #734]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agolinux-yocto: update to 2.6.37.1
Bruce Ashfield [Fri, 18 Feb 2011 16:38:19 +0000 (11:38 -0500)]
linux-yocto: update to 2.6.37.1

Updating the SRCREVs to reflect the 2.6.37.1 merge.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agobitbake/runqueue: Drop PATH override. This was needed for the exec() change but not...
Richard Purdie [Mon, 21 Feb 2011 17:26:18 +0000 (17:26 +0000)]
bitbake/runqueue: Drop PATH override. This was needed for the exec() change but not now we use fork()

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agotar.inc: Fix unintended damage
Richard Purdie [Mon, 21 Feb 2011 16:58:33 +0000 (16:58 +0000)]
tar.inc: Fix unintended damage

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agotar-replacement-native: Fix install
Richard Purdie [Mon, 21 Feb 2011 16:44:09 +0000 (16:44 +0000)]
tar-replacement-native: Fix install

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agotar-replacement-native: Add a target to replace the default tar
Richard Purdie [Mon, 21 Feb 2011 16:29:43 +0000 (16:29 +0000)]
tar-replacement-native: Add a target to replace the default tar

tar < 1.24 has symlink issues where extracting a tar archive containing a symlink
to a directory where that symlink already exists will cause the symlink to be
dereferenced. If that target doesn't exist tar can fail with a permissions error.

Since we need to be able to do this for packages containing symlinks like
xorg-minimal-fonts and eglibc, we have to ensure a tar 1.25 is available early
in the build process.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosiggen: add bb.data, bb.parse imports
Chris Larson [Wed, 16 Feb 2011 22:41:37 +0000 (15:41 -0700)]
siggen: add bb.data, bb.parse imports

(Bitbake rev: 8eafb12208fcd073f930c0c74f25831d02c02198)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agouihelper: import bb.build, kill commented lines
Chris Larson [Wed, 16 Feb 2011 22:58:07 +0000 (15:58 -0700)]
uihelper: import bb.build, kill commented lines

(Bitbake rev: 718448e96d714adf8aaecedac5cb77c7f36b9cdb)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorunqueue: simplify RunQueueStats.copy
Chris Larson [Wed, 16 Feb 2011 22:24:24 +0000 (15:24 -0700)]
runqueue: simplify RunQueueStats.copy

(Bitbake rev: 778571f155139fcf43d0e30e875c39d6592ae03f)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorunqueue: pass a copy of the RunQueueStats to events
Chris Larson [Wed, 16 Feb 2011 22:18:06 +0000 (15:18 -0700)]
runqueue: pass a copy of the RunQueueStats to events

This avoids cases where the stats are modified after the event is fired but
before it's dispatched to the UI.

(Bitbake rev: 1954f182687a0bd429175dda87f05d8a94bb403a)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorm_work.bbclass: Improve handling of noexec tasks
Richard Purdie [Mon, 21 Feb 2011 12:58:06 +0000 (12:58 +0000)]
rm_work.bbclass: Improve handling of noexec tasks

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolib/oe/path.py: Add expection class to handle the output argument
Richard Purdie [Mon, 21 Feb 2011 11:00:34 +0000 (11:00 +0000)]
lib/oe/path.py: Add expection class to handle the output argument

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agorpm: Increase the number of solvedb's allowed
Mark Hatle [Sat, 19 Feb 2011 01:01:08 +0000 (19:01 -0600)]
rpm: Increase the number of solvedb's allowed

Increase the number of allowed solvedb's to 20 from the original 5.

We also add an additional error message to RPM incase the 20 is ever
exceeded.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agodocumentation/kernel-manual/kernel-how-to.xml: Changes to section 3.4.4 and new 3.4.5
Scott Rifenbark [Thu, 17 Feb 2011 14:07:06 +0000 (08:07 -0600)]
documentation/kernel-manual/kernel-how-to.xml: Changes to section 3.4.4 and new 3.4.5

I made some updates to the 3.4.4 section according to Bruce Ashfield's
feedback.  I also added a new section 3.4.5 (Creating a BSP Based on an
Existing Similar BSP Without a Local Kernel Repository).

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/kernel-manual/kernel-how-to.xml: fix to step 3 and 4 of section 3.4.4
Scott Rifenbark [Tue, 15 Feb 2011 22:07:45 +0000 (16:07 -0600)]
documentation/kernel-manual/kernel-how-to.xml: fix to step 3 and 4 of section 3.4.4

Added text after the sample bbappend file stating that the user needs
to update the KSRC assignment statement and also remove its comment.
Also they have to remove the comment from the SRC_URI line.

Changed the bitbake command in step 4 to use the linux-yocto-stable
file rather than the linux-yocto file.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/kernel-manual/kernel-how-to.xml: Fix to step 3 of section 3.4.4
Scott Rifenbark [Tue, 15 Feb 2011 21:54:25 +0000 (15:54 -0600)]
documentation/kernel-manual/kernel-how-to.xml: Fix to step 3 of section 3.4.4

Changed 'linux-yocto_git.bbappend' to 'linux-yocto-stable_git.bbappend'
in step 3 just before the code example.  This makes the code consistent
with the rest of the example supporting the 2.6.34 kernel.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/kernel-manual/kernel-how-to.xml: Fix to step 1 of section 3.4.4
Scott Rifenbark [Tue, 15 Feb 2011 21:49:33 +0000 (15:49 -0600)]
documentation/kernel-manual/kernel-how-to.xml: Fix to step 1 of section 3.4.4

Step one states that the linux-yocto_git.bbappend file is left.  This
file is associated with distro 2.6.37 kernel and the rest of the
example is associated with the 2.6.34 kernel.  So, I changed the
step to indicate that the directory is left with a linux-yocto-stable_git.bbappend
file.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agometa/lib/oe/path: Use check_output for subprocess so we can see error info. Import...
Richard Purdie [Fri, 18 Feb 2011 18:14:50 +0000 (18:14 +0000)]
meta/lib/oe/path: Use check_output for subprocess so we can see error info. Import code to be python 2.6 compatible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolocal.conf.sample: Handle the case the user incomments a machine entry and expects...
Richard Purdie [Fri, 18 Feb 2011 15:52:02 +0000 (15:52 +0000)]
local.conf.sample: Handle the case the user incomments a machine entry and expects it to override the default

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoconf/machine: Drop older machines with no recent updates
Richard Purdie [Fri, 18 Feb 2011 15:32:57 +0000 (15:32 +0000)]
conf/machine: Drop older machines with no recent updates

These are all moving to meta-extras. Ideally in the future machines
such as these will be maintained to topic specific layers as we move
to a more layer oriented model. If this causes a problem for anyone
please discuss it on the mailing list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolocal.conf.sample: Update MACHINE list to match our website and documented supported...
Richard Purdie [Fri, 18 Feb 2011 15:20:01 +0000 (15:20 +0000)]
local.conf.sample: Update MACHINE list to match our website and documented supported list

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Move SIGCHLD handler to wrap none server sleep call
Richard Purdie [Fri, 18 Feb 2011 11:43:32 +0000 (11:43 +0000)]
bitbake/runqueue.py: Move SIGCHLD handler to wrap none server sleep call

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogstreamer: reenable PARALLEL_MAKE
Dongxiao Xu [Thu, 17 Feb 2011 08:56:48 +0000 (16:56 +0800)]
gstreamer: reenable PARALLEL_MAKE

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoopenssl: fix parallel make
Qing He [Thu, 17 Feb 2011 07:16:02 +0000 (15:16 +0800)]
openssl: fix parallel make

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoconnman-gnome: Enable config menu popup even services are not available
Dongxiao Xu [Thu, 17 Feb 2011 07:21:30 +0000 (15:21 +0800)]
connman-gnome: Enable config menu popup even services are not available

User may still want to configure networks even if current services are
not available, for example, set online/offline mode, etc.

Enable the popup menu even if the status is unavailable.

This fixes [BUGID #472]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agorecipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.
Lianhao Lu [Thu, 17 Feb 2011 02:51:08 +0000 (10:51 +0800)]
recipe-core/meta/meta-toolchain.bb: Set correct value for CONFIG_SITE.

Set the value of CONFIG_SITE for correct autoconf config site files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agotoolchain-script/populate_sdk/meta-toolchain: moving common code.
Lianhao Lu [Thu, 17 Feb 2011 02:48:12 +0000 (10:48 +0800)]
toolchain-script/populate_sdk/meta-toolchain: moving common code.

moving common code between populate_sdk.bbclass and meta-environment.bb
into toolchain-script.bbclass.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agotoolchain-scripts.bbclass: Added libtool sysroot support.
Lianhao Lu [Thu, 17 Feb 2011 02:43:38 +0000 (10:43 +0800)]
toolchain-scripts.bbclass: Added libtool sysroot support.

Added missing --with-libtool-sysroot and --sysroot in environment files.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agogtk+: Fix build of documentation
Scott Garman [Thu, 17 Feb 2011 21:35:05 +0000 (13:35 -0800)]
gtk+: Fix build of documentation

This resolves the following error messages when building gtk+
documentation:

mv: cannot stat `gtk-faq': No such file or directory
mv: cannot stat `gtk-tut': No such file or directory

Fixes [BUGID #730]

Also adds docbook-utils-native to DEPENDS so we don't rely on
host documentation building tools.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodocbook-utils-native: set SGML_EXTRA_CATALOGS in jw
Scott Garman [Thu, 17 Feb 2011 21:33:27 +0000 (13:33 -0800)]
docbook-utils-native: set SGML_EXTRA_CATALOGS in jw

Point jw to the native sysroot master catalog.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoopenjade-native: Set datadir explicitly
Scott Garman [Thu, 17 Feb 2011 21:30:14 +0000 (13:30 -0800)]
openjade-native: Set datadir explicitly

datadir was previously defaulting to usr/share and hence could not
find openjade's data files.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodocbook-dsssl-stylesheets-native: add missing files to install
Scott Garman [Thu, 17 Feb 2011 21:29:02 +0000 (13:29 -0800)]
docbook-dsssl-stylesheets-native: add missing files to install

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoperl-native: fix parallel build
Nitin A Kamble [Thu, 17 Feb 2011 00:39:21 +0000 (16:39 -0800)]
perl-native: fix parallel build

perl native recipe was failing on 40-way system with the parallel build turned
on. With this patch the parallel build on 40 way build system is not failing.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Passed 31 clean/build cycles on the 40-way.

Tested-by: Darren Hart <dvhart@linux.intel.com>
14 years agolibc-package.bbclass: Disable lib packaging dependenies for libc-initial versions
Richard Purdie [Thu, 17 Feb 2011 00:17:01 +0000 (00:17 +0000)]
libc-package.bbclass: Disable lib packaging dependenies for libc-initial versions

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobuildstats.bbclass: Remove unneeded debug output
Richard Purdie [Wed, 16 Feb 2011 23:17:59 +0000 (23:17 +0000)]
buildstats.bbclass: Remove unneeded debug output

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agogypsy: Convert SRCREV to a git revision instead of an svn one after recipe migration
Richard Purdie [Wed, 16 Feb 2011 21:15:43 +0000 (21:15 +0000)]
gypsy: Convert SRCREV to a git revision instead of an svn one after recipe migration

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoperl perl-native: turn on parallel make
Nitin A Kamble [Wed, 16 Feb 2011 19:53:16 +0000 (11:53 -0800)]
perl perl-native: turn on parallel make

tested this on all architectures, and build works fine.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
14 years agolttng-viewer: Fix rootfs contruction
Mark Hatle [Wed, 16 Feb 2011 15:42:11 +0000 (09:42 -0600)]
lttng-viewer: Fix rootfs contruction

A required run-time library was leaking into the -dev package.
This caused a large number of -dev packages to be included in the build.

This library is now part of the base lttng-viewer split.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoiputils: enable generation of man pages
Scott Garman [Wed, 16 Feb 2011 00:39:31 +0000 (16:39 -0800)]
iputils: enable generation of man pages

This fixes [BUGID #211]

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoopensp: improve configuration and install steps
Scott Garman [Wed, 16 Feb 2011 00:36:12 +0000 (16:36 -0800)]
opensp: improve configuration and install steps

* For the -native case we need to point two configure
  options to the SGML catalogs in the native sysroot
* Some packages (e.g, iputils) use different names for
  the openSP utilities, so create these names as
  symlinks after do_install

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agodocbook-utils-native: new recipe v0.6.14
Scott Garman [Thu, 10 Feb 2011 03:44:21 +0000 (19:44 -0800)]
docbook-utils-native: new recipe v0.6.14

Recipe derived from OpenEmbedded. Starting with a -native only
version for now.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agosgml-common-native: fix license info and checksum fields
Scott Garman [Fri, 4 Feb 2011 20:22:55 +0000 (12:22 -0800)]
sgml-common-native: fix license info and checksum fields

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agotexinfo: recipe cleanup, add native support
Scott Garman [Tue, 8 Feb 2011 02:43:41 +0000 (18:43 -0800)]
texinfo: recipe cleanup, add native support

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
14 years agoeds-dbus: reenable PARALLEL_MAKE
Saul Wold [Wed, 16 Feb 2011 15:33:13 +0000 (07:33 -0800)]
eds-dbus: reenable PARALLEL_MAKE

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agopango: reenable PARALLEL_MAKE
Saul Wold [Wed, 16 Feb 2011 15:32:42 +0000 (07:32 -0800)]
pango: reenable PARALLEL_MAKE

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agoncurses: reenable PARALLEL_MAKE
Saul Wold [Wed, 16 Feb 2011 15:32:28 +0000 (07:32 -0800)]
ncurses: reenable PARALLEL_MAKE

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agogettext: reenable PARALLEL_MAKE
Saul Wold [Wed, 16 Feb 2011 15:32:05 +0000 (07:32 -0800)]
gettext: reenable PARALLEL_MAKE

Signed-off-by: Saul Wold <sgw@linux.intel.com>
14 years agolinux-libc-headers-yocto: Added RPROVIDES.
Lianhao Lu [Tue, 15 Feb 2011 11:13:19 +0000 (19:13 +0800)]
linux-libc-headers-yocto: Added RPROVIDES.

[BUGID #714] Added RPROVIDES_${PN}-dev and RPROVIDES_${PN}-dbg for
linux-libc-headers-yocto to provides "linux-libc-headers-dev" and
"linux-libc-headers-dbg" respectively.

This resolved the dependency issue of libc6-dev depending upon
linux-libc-headers-dev. Package linux-libc-headers-yocto-dev will be
installed as linux-libc-headers-dev.

Also bumped the PR.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
14 years agopoky.conf: make the WHITELIST for INCOMPATIBLE_LICENSE overridable
Saul Wold [Wed, 16 Feb 2011 05:10:09 +0000 (21:10 -0800)]
poky.conf: make the WHITELIST for INCOMPATIBLE_LICENSE overridable

Signed-off-by: Saul Wold <sgw@linux.intel.com>