]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
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>
14 years agopackage_rpm: Fix solverdb generation
Mark Hatle [Wed, 16 Feb 2011 04:56:13 +0000 (22:56 -0600)]
package_rpm: Fix solverdb generation

The RPM solverdb was potentially being generated multiple times.
Fix this by ensuring we only process each directory once.

Also correct an issue where the solution did not necessarily follow
the preferred architecture ordering, reverse the default Poky ordering
so that preferred is listed first.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoimage.bbclass: Disable shell debug messages
Mark Hatle [Wed, 16 Feb 2011 04:54:38 +0000 (22:54 -0600)]
image.bbclass: Disable shell debug messages

By default image had a "set -x" to enable shell debug messages,
this adds a lot of overhead to the system due to logging.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorpm: Avoid fsync when writing files
Mark Hatle [Wed, 16 Feb 2011 04:43:42 +0000 (22:43 -0600)]
rpm: Avoid fsync when writing files

By default RPM strives for the safest possible file creation and
enforces fsync on each file.  This changes that default by backporting
the fsync disabled from the latest CVS snapshot.

This will cut a few minutes off the rootfs generation using RPM.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agorpm: Add the ability to use the platform file during install
Mark Hatle [Wed, 16 Feb 2011 04:20:49 +0000 (22:20 -0600)]
rpm: Add the ability to use the platform file during install

Add a new rpm macro, rpmrc_platform_path to specify an alternative platform
file.  This is required to allow the dep resolver to identify compatible
packages.

Also workaround a minor problem with the --showrc command in RPM.  A bug
has been reported upstream on this.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14 years agoDoing uname without subprocess: buildstats.bbclass
Beth Flanagan [Wed, 16 Feb 2011 02:37:59 +0000 (18:37 -0800)]
Doing uname without subprocess: buildstats.bbclass

Instead of using subprocess which is problematic, we should use platform
instead.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agomkfontdir/font-alias: Fix native RDEPENDS
Richard Purdie [Wed, 16 Feb 2011 14:28:02 +0000 (14:28 +0000)]
mkfontdir/font-alias: Fix native RDEPENDS

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agosqlite3-native: Drop dependencies on ncurses and readline plus enable in memory tempo...
Richard Purdie [Wed, 16 Feb 2011 12:37:07 +0000 (12:37 +0000)]
sqlite3-native: Drop dependencies on ncurses and readline plus enable in memory temporary tables

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/fecth2: Ensure BB_FETCH_PREMIRRORONLY being set as false is handled correctly
Richard Purdie [Wed, 16 Feb 2011 12:35:35 +0000 (12:35 +0000)]
bitbake/fecth2: Ensure BB_FETCH_PREMIRRORONLY being set as false is handled correctly

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue.py: Ensure child has the default SIGCHLD handler restored
Richard Purdie [Wed, 16 Feb 2011 12:33:40 +0000 (12:33 +0000)]
bitbake/runqueue.py: Ensure child has the default SIGCHLD handler restored

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue: When we successfully fork off a task and there are more processes...
Richard Purdie [Tue, 15 Feb 2011 23:20:54 +0000 (23:20 +0000)]
bitbake/runqueue: When we successfully fork off a task and there are more processes we can start do so immediately

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue: When we have successfully collected a pid value return True to...
Richard Purdie [Tue, 15 Feb 2011 23:20:20 +0000 (23:20 +0000)]
bitbake/runqueue: When we have successfully collected a pid value return True to ensure we don't sleep in the main loop

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/runqueue: Add a SIGCHLD handler to ensure we wake from sleeps for SIGCHLD...
Richard Purdie [Tue, 15 Feb 2011 23:19:43 +0000 (23:19 +0000)]
bitbake/runqueue: Add a SIGCHLD handler to ensure we wake from sleeps for SIGCHLD events

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobitbake/cooker: Ensure delays are accurately transfered to the idle loops from runqueue
Richard Purdie [Tue, 15 Feb 2011 23:18:39 +0000 (23:18 +0000)]
bitbake/cooker: Ensure delays are accurately transfered to the idle loops from runqueue

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobuildstats.bbclass: Fix expand call syntax
Richard Purdie [Tue, 15 Feb 2011 21:41:56 +0000 (21:41 +0000)]
buildstats.bbclass: Fix expand call syntax

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agobuildstats.bbclass: Save ended time in TaskFinished events
Richard Purdie [Tue, 15 Feb 2011 19:34:13 +0000 (19:34 +0000)]
buildstats.bbclass: Save ended time in TaskFinished events

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agolinux-yocto: add jasperforest BSP and fix lttng NMI bug
Bruce Ashfield [Tue, 15 Feb 2011 18:56:08 +0000 (13:56 -0500)]
linux-yocto: add jasperforest BSP and fix lttng NMI bug

During the introduction of the jasperforest BSP, a lttng
issues was picked up with NMI tracing. The upstream (and
our solution) is to revert that commit.

This change updates the meta repo for jasperforest and pushes
out the nmi revert to all BSPs.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoREADME.hardware: update the beagleboard serial port documentation
Darren Hart [Mon, 14 Feb 2011 22:52:47 +0000 (14:52 -0800)]
README.hardware: update the beagleboard serial port documentation

Update the README.hardware beagleboard description to account for the use
of the OMAP_SERIAL in recent kernel recipes. Add a note documenting how to
use the old 8250 based serial devices for older kernels.

Correct a type.

Correct the boot script name from user.scr to boot.scr.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Gary Thomas <gary@mlbassoc.com>
14 years agolinux-libc-headers-yocto: disable device tree generation
Bruce Ashfield [Mon, 14 Feb 2011 19:07:38 +0000 (14:07 -0500)]
linux-libc-headers-yocto: disable device tree generation

Fixes [BUGID #719]

The common routines for handling a git based yocto kernel
are included from the lib headers recipe to checkout the
appropriate branch of the kernel for header generation.

linux-yocto.inc includes device tree installation rules
which typically apply to a kernel user of the include file,
but do not apply to a simple header generation. The fix is
to override the DTB variables in this recipe, which disable
the device tree installation rules.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agobuildstats: Disable uname subprocess call for now since it appears to be breaking...
Richard Purdie [Tue, 15 Feb 2011 11:51:28 +0000 (11:51 +0000)]
buildstats: Disable uname subprocess call for now since it appears to be breaking runqueue somehow

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 years agoMerge branch 'srifenbark/docs' of ssh://git.pokylinux.org/poky-contrib
Richard Purdie [Tue, 15 Feb 2011 10:02:27 +0000 (10:02 +0000)]
Merge branch 'srifenbark/docs' of ssh://git.pokylinux.org/poky-contrib

14 years agogypsy: Change gypsy upstream repo address
Dongxiao Xu [Tue, 15 Feb 2011 01:00:34 +0000 (09:00 +0800)]
gypsy: Change gypsy upstream repo address

This fixes [BUGID #623].

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
14 years agoBuildstats commit: buildstats.bbclass
Beth Flanagan [Sun, 13 Feb 2011 00:25:09 +0000 (16:25 -0800)]
Buildstats commit: buildstats.bbclass

Used to track some basic build metrics by build and task/event level.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>