]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
14 years agoRevert "bitbake/fetch/local: Also check DL_DIR for files since they could already...
Richard Purdie [Sat, 13 Nov 2010 12:03:13 +0000 (20:03 +0800)]
Revert "bitbake/fetch/local: Also check DL_DIR for files since they could already exists there"

These changes were incorrect.

This reverts commit ae98f7eacb9e61fe086d88dc694b4c651af9fee3.

14 years agoRevert "bitbake/fetch/local: Fix os.exists reference"
Richard Purdie [Sat, 13 Nov 2010 12:02:38 +0000 (20:02 +0800)]
Revert "bitbake/fetch/local: Fix os.exists reference"

These changes were incorrect.

This reverts commit f8e33979352528bb7c289e7c839605a5880e1e43.

14 years agobitbake/fetch/local: Fix os.exists reference
Richard Purdie [Sat, 13 Nov 2010 02:23:15 +0000 (10:23 +0800)]
bitbake/fetch/local: Fix os.exists reference

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/fetch/local: Also check DL_DIR for files since they could already exists...
Richard Purdie [Fri, 12 Nov 2010 23:26:21 +0000 (07:26 +0800)]
bitbake/fetch/local: Also check DL_DIR for files since they could already exists there

[BUGID #533]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoprocps: fix for build against make 3.82
Joshua Lock [Fri, 12 Nov 2010 16:36:54 +0000 (16:36 +0000)]
procps: fix for build against make 3.82

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agogit-pull: add send-pull-request script
Darren Hart [Sat, 6 Nov 2010 14:06:11 +0000 (10:06 -0400)]
git-pull: add send-pull-request script

send-pull-request facilitates sending pull requests generated by
create-pull-request. The primary role of this script is to harvest email
addresses from the patches and send them out. A working installation of sendmail
(exim, postfix, msmtp, etc.) is required to use this script.

You can explicitly specify To addresses with the -t option. As this can be
tedious, the -a option will scan all the patches for To, CC, and *-by lines and
the collected addresses to the To and CC headers for each patch.

This script uses an identical recipients list for every patch, including the
cover letter. This is by design. Existing tools will auto-generate the CC header
for individual patches, but since they don't apply it to the other patches, the
recipients can lack the necessary context to provide a meaningful review. This
is especially true of the cover letter.

The pull directory generated by the create-pull-request script is specified
using the -p option.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Nitin A Kamble <nitin.a.kamble@intel.com>
CC: Richard Purdie <rpurdie@linux.intel.com>
CC: Saul Wold <saul.wold@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agogit-pull: add the new create-pull-request script
Darren Hart [Sat, 6 Nov 2010 13:42:28 +0000 (09:42 -0400)]
git-pull: add the new create-pull-request script

The previous create-pull-request only generated a cover letter. When used to
send to the list, it did not include the patches, which made it difficult
to perform peer review. A pull request without patches is typically only sent
by a maintainer. As we are not all maintainers, we need a means to easily
submit patches for review.

As we are accustomed to making pull requests, this script retains a
git-pull-style cover letter, while sending the relevant patches as responses
to the pull. This will provide the necessary context for peer review, and still
allow people to collapse threads and see no more mail than they were previously.

This version retains the relative_to, commit_id, and contrib_branch arguments
from the original, along with their default values. It adds several more,
resulting in a highly flexible tool.

The script creates a pull directory (pull-$$ by default, configurable via the -o
option) and populates it with a git-format-patch generated patch series and
cover letter. The cover letter is modified to include the git and http pull URLs
and branch name, as well as a basic signature from the author pulled from git's
user.name and user.email config. git-format-patch provides the shortlog and
diffstat of the series.

Breaking a bit from the original, this script maintains the [PATCH] subject
prefix in the cover letter (as opposed to [GIT PULL]. This is better suited to
the majority of developers (who are not maintainers). This prefix is
configurable with the -p option, allowing you to create an [RFC PATCH]
prefix, for example.

By default, the generated cover letter with contain "*** SUBJECT HERE ***" and
"*** BLURB HERE ***" tokens which you should replace with something
appropriate prior to sending the messages.

When developing multiple versions of a patch series, it can save time to
maintain a message.txt file, rather than having to retype the message body of
the cover letter every time. The -m option allows you to specify a message file
and replace the "*** BLURB HERE ***" token of the cover letter with the contents
of the message file.

Finally, the -s option will replace the "*** SUBJECT HERE ***" token in the cover
letter with the specified subject.

The generated patches are suitable for sending via sendmail.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Nitin A Kamble <nitin.a.kamble@intel.com>
CC: Richard Purdie <rpurdie@linux.intel.com>
CC: Saul Wold <saul.wold@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agogit pull: remove the existing create_pull_request script
Darren Hart [Sat, 6 Nov 2010 13:35:37 +0000 (09:35 -0400)]
git pull: remove the existing create_pull_request script

The patches to follow completely rewrite the existing create-pull-request.
Rather than have an initial diff of the two files (which are not at all
similar) remove the original, and then create the new one.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Nitin A Kamble <nitin.a.kamble@intel.com>
CC: Richard Purdie <rpurdie@linux.intel.com>
CC: Saul Wold <saul.wold@intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotcltk: Fix moving libtcl8.5.so into tcl-lib.
Jingdong Lu [Mon, 8 Nov 2010 06:46:02 +0000 (14:46 +0800)]
tcltk: Fix moving libtcl8.5.so into tcl-lib.

Move /usr/lib/libtcl8.5.so into tcl-lib package.

Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
14 years agokernel: prefer the kernel produced uImage
Bruce Ashfield [Fri, 29 Oct 2010 16:13:23 +0000 (12:13 -0400)]
kernel: prefer the kernel produced uImage

The custom uImage produced by the kernel classes by default
does not universally boot and working with existing uboot
configurations and setups.

This changes the preference to the uImage constructed by
the kbuild processes and falls back to the other techniques
if uImage is requested by the kernel does not produce one.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agolinux-wrs: rename force_revisions and allow override
Bruce Ashfield [Thu, 14 Oct 2010 02:41:50 +0000 (22:41 -0400)]
linux-wrs: rename force_revisions and allow override

It is useful to override revision checking from a layer or other
recipe. In order to show the global nature of the variable rename
it KERNEL_REVISION_CHECKING and make it a weak assignment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agowrs_meta: add USB options for wacom tablet support
Bruce Ashfield [Mon, 8 Nov 2010 20:26:20 +0000 (15:26 -0500)]
wrs_meta: add USB options for wacom tablet support

Fixes [BUGID: #394]

    qemumips: Added wacom tablet support to mti_malta32_be bsp config

Signed-off-by: J. Aaron Gamble <john.gamble@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoqemumips: re-enable wacom and standard USB UI options
Bruce Ashfield [Mon, 8 Nov 2010 20:17:29 +0000 (15:17 -0500)]
qemumips: re-enable wacom and standard USB UI options

Fixes [BUGID #394]

Now that the qemu/mti mips kernel branches have been fixed
for wacom USB interaction, we can re-nable the standard set
of qemu UI options for qemumips.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agotslib: 32bit big endian support
J. Aaron Gamble [Wed, 27 Oct 2010 15:03:17 +0000 (11:03 -0400)]
tslib: 32bit big endian support

Fixes [BUGID #394]

patch added from: https://launchpad.net/ubuntu/+source/tslib/1.0-7

Enables wacom tablet/touchscreen support on qemumips

Signed-off-by: J. Aaron Gamble <john.gamble@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14 years agoAdded qemumips /etc/pointercal file for touchscreen calibration
J. Aaron Gamble [Wed, 27 Oct 2010 19:31:14 +0000 (15:31 -0400)]
Added qemumips /etc/pointercal file for touchscreen calibration

Fixes [BUGID #394]

Signed-off-by: J. Aaron Gamble <john.gamble@windriver.com>
14 years agoquilt: Fixed configure test for patch --version.
Beth Flanagan [Thu, 4 Nov 2010 00:20:00 +0000 (17:20 -0700)]
quilt: Fixed configure test for patch --version.

OpenSuSE 11.3 uses GNU patch 2.6.1.81-5b68 which breaks quilt's
configure test for patch version.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
14 years agopoky.conf: Default Locale Generation
Saul Wold [Mon, 8 Nov 2010 23:54:21 +0000 (15:54 -0800)]
poky.conf: Default Locale Generation

Add en-us and POSIX to default locale generation

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoeglibc: add en-us locale generation
Saul Wold [Mon, 8 Nov 2010 23:53:13 +0000 (15:53 -0800)]
eglibc: add en-us locale generation

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agoeglibc: install the missing /etc/ld.so.conf into target
Dexuan Cui [Tue, 2 Nov 2010 07:42:09 +0000 (15:42 +0800)]
eglibc: install the missing /etc/ld.so.conf into target

${sysconfdir} should be added into FILES_${PN}.

Fixes [BUGID #511]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agold.so.conf: create empty file
Saul Wold [Thu, 4 Nov 2010 18:29:04 +0000 (11:29 -0700)]
ld.so.conf: create empty file

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agobusybox: enable more options for tar to support more file formats.
Dexuan Cui [Tue, 26 Oct 2010 07:10:26 +0000 (15:10 +0800)]
busybox: enable more options for tar to support more file formats.

Fixes [BUGID #495]

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
14 years agobzip2: upgrade to version 1.0.6
Qing He [Wed, 3 Nov 2010 07:06:24 +0000 (15:06 +0800)]
bzip2: upgrade to version 1.0.6

resolves security bug CVE-2010-0405

Signed-off-by: Qing He <qing.he@intel.com>
14 years agoimagetest-qemu: Add test case for dmesg check in target
Jiajun Xu [Fri, 29 Oct 2010 17:03:22 +0000 (01:03 +0800)]
imagetest-qemu: Add test case for dmesg check in target

Add a test case for error log check with command dmesg in target. The
case introduces a new folder in target, "/opt/test", which holds test
scripts running in target.

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>

14 years agopoky.conf: Change default locale to POSIX
Saul Wold [Thu, 4 Nov 2010 18:01:42 +0000 (11:01 -0700)]
poky.conf: Change default locale to POSIX

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agotask-sdk-gmae: fix typo in SDK-EXTRAS and convert to ?= for assignment
Saul Wold [Thu, 4 Nov 2010 17:49:29 +0000 (10:49 -0700)]
task-sdk-gmae: fix typo in SDK-EXTRAS and convert to ?= for assignment

Signed-off-by: Saul Wold <Saul.Wold@intel.com>
14 years agopython: Fix hardcoded python references which should refer to PN, removing duplicate...
Richard Purdie [Wed, 10 Nov 2010 13:07:12 +0000 (21:07 +0800)]
python: Fix hardcoded python references which should refer to PN, removing duplicate providers warning

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobusybox: import upstream patch for make 3.82
Joshua Lock [Tue, 9 Nov 2010 12:18:14 +0000 (12:18 +0000)]
busybox: import upstream patch for make 3.82

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agoeglibc: fix build of eglibc-initial for make 3.82
Joshua Lock [Tue, 9 Nov 2010 12:14:28 +0000 (12:14 +0000)]
eglibc: fix build of eglibc-initial for make 3.82

Make 3.82, as shipped with Fedora 14, fixes some holes in the parser which in
turn breaks behaviour of some Makefiles. Most notably eglibc's.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopackage.bbclass: make sure 'sysroots' created before lockfile
Kevin Tian [Tue, 26 Oct 2010 07:54:43 +0000 (15:54 +0800)]
package.bbclass: make sure 'sysroots' created before lockfile

package sstate requires a lock under sysroots/, which however may not be
created when sstate_setscene functions are executed and then causes failures.
here we make sure 'sysroots' created before do_package_setscene is executed.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
14 years agopoky.conf: add PWD to BB_HASHBASE_WHITELIST
Kevin Tian [Fri, 5 Nov 2010 07:16:50 +0000 (15:16 +0800)]
poky.conf: add PWD to BB_HASHBASE_WHITELIST

Without doing this I can't reuse prebuilts generated from one directory in another
build directory which is really not comfortable for developers. Due to difference
on PWD variable, base hash becomes different for every sstate package.

So here PWD is added to the hase base whitelist, which makes most prebuilts reusable
now in a different build directory. However there still remains one issue about
do_populate_sysroot sstate package. Absolute path is encoded in this task which
then blocks reuse on them. Perhaps we need some redesign for do_populate_sysroot into
two stages, with all absolute path related operations moved to the 2nd stage. This
way then the 1st stage can be reused.

Partially fix [BUGID #522]

Signed-off-by Kevin Tian <kevin.tian@intel.com>

14 years agobitbake.runqueue.py: Fix no exec task handling to correct counter housekeeping
Richard Purdie [Sun, 7 Nov 2010 20:33:12 +0000 (20:33 +0000)]
bitbake.runqueue.py: Fix no exec task handling to correct counter housekeeping

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agometa/classes: Mark do_package_write and do_build as noexec tasks
Richard Purdie [Sat, 6 Nov 2010 14:33:45 +0000 (14:33 +0000)]
meta/classes: Mark do_package_write and do_build as noexec tasks

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake: Add support for 'noexec' tasks
Richard Purdie [Sat, 6 Nov 2010 14:33:05 +0000 (14:33 +0000)]
bitbake: Add support for 'noexec' tasks

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/siggen: Allow siggen code to control final stampfile format
Richard Purdie [Sat, 6 Nov 2010 12:20:33 +0000 (12:20 +0000)]
bitbake/siggen: Allow siggen code to control final stampfile format

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years ago.gitignore: Update after documentation layout changes
Richard Purdie [Sat, 6 Nov 2010 12:19:51 +0000 (12:19 +0000)]
.gitignore: Update after documentation layout changes

14 years agodocmentation/poky-ref-manual: Remove unused Indexes title
Richard Purdie [Thu, 4 Nov 2010 20:54:16 +0000 (20:54 +0000)]
docmentation/poky-ref-manual: Remove unused Indexes title

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoPerformed general edits to this chapter.
Scott Rifenbark [Tue, 2 Nov 2010 21:16:13 +0000 (14:16 -0700)]
Performed general edits to this chapter.

many english corrections performed.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoPoky Reference Manual: Completed editing pass of Chapter 3.
Scott Rifenbark [Thu, 4 Nov 2010 21:12:46 +0000 (21:12 +0000)]
Poky Reference Manual: Completed editing pass of Chapter 3.

I completed the editing pass of this chapter by doing sections 3.3.3 on.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoCreated a new folder to hold the BSP Guide
Scott Rifenbark [Thu, 4 Nov 2010 20:01:19 +0000 (13:01 -0700)]
Created a new folder to hold the BSP Guide

I created a new sub folder to hold the BSP Guide by itself so there are
three folders now for each of the Yocto manuals: BSP Guide, quick start
and poky ref manual.  The new folder for the BSP guide is 'bsp-guide'.
It contains the bsp.xml file, its own Makefile, a bsp-guide.xml file,
and its own 'Figures' directory.  The 'bsp-guide.xml' file that was
in the poky reference folder was deleted.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoGeneral edits to the using poky and Extending Poky chapters.
Scott Rifenbark [Thu, 28 Oct 2010 21:29:17 +0000 (14:29 -0700)]
General edits to the using poky and Extending Poky chapters.

I completed general edits to the second chapter of the poky reference
manual.  These edits went from section 2.4.5 through the end of the
chapter.  They consist of text rewrites for more active voice and follow
general technical writing principles.

I completed the same types of edits in the third chapter of the manual
from the beginning through section 3.3.2.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoGeneral text edits through section 2.4.4 "General Bitbak Problems"
Scott Rifenbark [Thu, 28 Oct 2010 15:27:28 +0000 (08:27 -0700)]
General text edits through section 2.4.4 "General Bitbak Problems"

Extensive language and consistency edits being applied to the manual.
During the 0.9 push I did not have time to make a pass through the
document.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoChanged a source command to have the correct source.
Scott Rifenbark [Thu, 28 Oct 2010 13:25:42 +0000 (06:25 -0700)]
Changed a source command to have the correct source.

Changed "source poky-4.0/poky-init-build-env poky-4.0-build"
to be "source poky-laverne-4.0/poky-init-build-env poky-4.0-build"

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoChanged the title and wording of the section about pre-built binaries.
Scott Rifenbark [Wed, 27 Oct 2010 18:29:28 +0000 (11:29 -0700)]
Changed the title and wording of the section about pre-built binaries.

There was a grammatical error in the title and redundancy in the
first sentence of this section.  Cleaned up the title and wording.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoEditing pass through the Introduction chapter.
Scott Rifenbark [Wed, 27 Oct 2010 15:57:26 +0000 (08:57 -0700)]
Editing pass through the Introduction chapter.

I did a complete edit pass through this chapter.  The manual has
not been fully edited from its original state.  One critical technical
correction was corrected where the green-3.3 release was referenced.
I changed this to laverne 4.0.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoFigure changed for building an image and yoctolinux removed
Scott Rifenbark [Tue, 26 Oct 2010 16:23:59 +0000 (09:23 -0700)]
Figure changed for building an image and yoctolinux removed

I changed the figure that goes along with building an image based on
Kevin's input.  Also, removed several URLs that had 'yoctolinux' in them
along with a 'tar' command example with the same string.  LF does
not want these in there.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agocross-canadian bbclass: replace hardcoded -pokysdk with SDK_VENDOR
Koen Kooi [Wed, 3 Nov 2010 08:48:43 +0000 (09:48 +0100)]
cross-canadian bbclass: replace hardcoded -pokysdk with SDK_VENDOR

Signed-off-by: Koen Kooi <k-kooi@ti.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoopenssl: Use STAGING_BINDIR_NATIVE as the path to perl, not bindir which can point...
Richard Purdie [Wed, 3 Nov 2010 10:06:02 +0000 (10:06 +0000)]
openssl: Use STAGING_BINDIR_NATIVE as the path to perl, not bindir which can point to incorrect places

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate: Provide a temporary mechanism to stop collisions between toolchain components...
Richard Purdie [Tue, 2 Nov 2010 13:18:07 +0000 (13:18 +0000)]
sstate: Provide a temporary mechanism to stop collisions between toolchain components in builds from scratch using sstate

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/siggen: Provide better warnings about empty tasks
Richard Purdie [Tue, 2 Nov 2010 13:17:06 +0000 (13:17 +0000)]
bitbake/siggen: Provide better warnings about empty tasks

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoexternal-python-tarball: Include SDKMACHINE in tarball name
Richard Purdie [Tue, 2 Nov 2010 13:15:42 +0000 (13:15 +0000)]
external-python-tarball: Include SDKMACHINE in tarball name

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoexternal-python-tarball: Add ability to generate an externally usable standalone...
Richard Purdie [Tue, 2 Nov 2010 13:11:37 +0000 (13:11 +0000)]
external-python-tarball: Add ability to generate an externally usable standalone python tarball

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoopenssl/db/gdbm: Extend to provide BBCLASSEXTEND nativesdk
Richard Purdie [Tue, 2 Nov 2010 13:10:36 +0000 (13:10 +0000)]
openssl/db/gdbm: Extend to provide BBCLASSEXTEND nativesdk

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopython: Remove hardcoded python references and replace with PN, allowing use of BBCLA...
Richard Purdie [Tue, 2 Nov 2010 13:08:49 +0000 (13:08 +0000)]
python: Remove hardcoded python references and replace with PN, allowing use of BBCLASSEXTEND=nativesdk

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobase/utils.bbclass: Sync up overlapping functions
Richard Purdie [Tue, 2 Nov 2010 11:50:50 +0000 (11:50 +0000)]
base/utils.bbclass: Sync up overlapping functions

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoutils.bbclass: Add functions from OE.dev
Richard Purdie [Tue, 2 Nov 2010 10:33:52 +0000 (10:33 +0000)]
utils.bbclass: Add functions from OE.dev

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agognome.bbclass: Remove autotools_stage reference
Richard Purdie [Tue, 2 Nov 2010 10:15:27 +0000 (10:15 +0000)]
gnome.bbclass: Remove autotools_stage reference

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agognome.bbclass: Use BPN instead of PN and set SRC_URI name similar to OE.dev
Richard Purdie [Tue, 2 Nov 2010 10:11:05 +0000 (10:11 +0000)]
gnome.bbclass: Use BPN instead of PN and set SRC_URI name similar to OE.dev

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agometa-emenlow: Rename packages to recipes in line with main repository
Richard Purdie [Tue, 2 Nov 2010 10:08:00 +0000 (10:08 +0000)]
meta-emenlow: Rename packages to recipes in line with main repository

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobase-files: Allow a basic issue file to be extended by the code, following the method...
Richard Purdie [Tue, 2 Nov 2010 09:20:46 +0000 (09:20 +0000)]
base-files: Allow a basic issue file to be extended by the code, following the method now used by OE

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobase-files: Allow issue and hostname generation to be overridden
Richard Purdie [Tue, 2 Nov 2010 09:08:11 +0000 (09:08 +0000)]
base-files: Allow issue and hostname generation to be overridden

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosrc_distribute: Set EXPORT_FUNCTIONS correctly
Richard Purdie [Mon, 1 Nov 2010 10:48:43 +0000 (10:48 +0000)]
src_distribute: Set EXPORT_FUNCTIONS correctly

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/siggen: Fix finalise call arguments
Richard Purdie [Mon, 1 Nov 2010 10:23:09 +0000 (10:23 +0000)]
bitbake/siggen: Fix finalise call arguments

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoPoky -> Yocto name change
Richard Purdie [Wed, 27 Oct 2010 06:54:03 +0000 (07:54 +0100)]
Poky -> Yocto name change

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodocumentation: Update copyright to the Linux Foundation
Richard Purdie [Sat, 23 Oct 2010 01:03:26 +0000 (02:03 +0100)]
documentation: Update copyright to the Linux Foundation

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodocumentation/yocto-qs: Fix references to a poky-qemu package and replace with the...
Richard Purdie [Sat, 23 Oct 2010 00:46:41 +0000 (01:46 +0100)]
documentation/yocto-qs: Fix references to a poky-qemu package and replace with the yocto toolchain tarball

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoRemoved text from section 5.1.2.1.1.
Scott Rifenbark [Fri, 22 Oct 2010 21:55:10 +0000 (14:55 -0700)]
Removed text from section 5.1.2.1.1.

Removed several blocks of text from section 5.1.2.1.1
"Installing and Setting up the Eclipse IDE".  This text according
to Jessica was no longer needed.

14 years agoCorrected the package command for Debian-based hosts.
Scott Rifenbark [Fri, 22 Oct 2010 18:44:12 +0000 (11:44 -0700)]
Corrected the package command for Debian-based hosts.

Corrected a typo listing the package libsdl1.2-dev as libsdll.2-dev.
Also added the package mercurial.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoAdded package installation requirements.
Scott Rifenbark [Fri, 22 Oct 2010 17:47:29 +0000 (10:47 -0700)]
Added package installation requirements.

Added commands to support package installation of RPM-based host systems
to the example.  Input based on feedback from Dirk.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoRe-inserted Poky Image as part of the front matter.
Scott Rifenbark [Fri, 22 Oct 2010 17:09:16 +0000 (10:09 -0700)]
Re-inserted Poky Image as part of the front matter.

I have inserted the Poky image in the front matter again because the
book is a Poky Guide.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/poky-ref-manual: Fix image makefile to reference the image
Richard Purdie [Fri, 22 Oct 2010 17:00:41 +0000 (18:00 +0100)]
documentation/poky-ref-manual: Fix image makefile to reference the image

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoMoved the Poky image file to the "Figures" folder.
Scott Rifenbark [Fri, 22 Oct 2010 16:23:07 +0000 (09:23 -0700)]
Moved the Poky image file to the "Figures" folder.

The image file was in the same directory as the main reference manual
files.  So I moved the file into subdirectory "Figures" with other
figures.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoRe-installed the Poky Handbook image at the top of the manual
Scott Rifenbark [Fri, 22 Oct 2010 16:14:20 +0000 (09:14 -0700)]
Re-installed the Poky Handbook image at the top of the manual

I could not get the Yocto Project logo to appear correctly in the book
after the title.  I also decided that since Poky is by no means
going away that this book should have that image associated with it
as it is the Poky Reference Manual.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoUpdated the yocto-environment picture and added example command edits.
Scott Rifenbark [Fri, 22 Oct 2010 15:36:29 +0000 (08:36 -0700)]
Updated the yocto-environment picture and added example command edits.

When scaled to fit the page the picture had a black vertical line
artifact to the right.  I snipped out the image a little tigher to
eliminate this line.

I also incorporated Dirk's comments tightening up the sequence of
example commands to do the build.  I incorporated Fedora 14 note
and addition of the BB_NUMBER_THREADS and PARALLEL_MAKE variables.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocmentation/yocto-project-qs: Fix Yocto Environment graphic
Richard Purdie [Thu, 21 Oct 2010 21:26:55 +0000 (22:26 +0100)]
docmentation/yocto-project-qs: Fix Yocto Environment graphic

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoRemoved first link to openembedded and replaced with more general text.
Scott Rifenbark [Thu, 21 Oct 2010 21:10:47 +0000 (14:10 -0700)]
Removed first link to openembedded and replaced with more general text.

The link to openembedded was used to reference Linux distributions supporting
Yocto Project.  The link has been removed and replaced with more generic
text so as to not have to link to openembedded.  Text used is
"A Host system running a supported Linux distribution (i.e. recent releases
of Fedora, OpenSUSE, Debian, and Ubuntu)."

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoUpdated the first figure in the quick start.
Scott Rifenbark [Thu, 21 Oct 2010 21:01:34 +0000 (14:01 -0700)]
Updated the first figure in the quick start.

This conceptual figure has been replaced by a more detailed work
flow representing YP.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoCorrected link to the yocto website.
Scott Rifenbark [Thu, 21 Oct 2010 20:40:11 +0000 (13:40 -0700)]
Corrected link to the yocto website.

This link was incorrect and has been changed to yoctoproject.com.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoUpdated supporting text to reflect new poky-4.0-build directory in example
Scott Rifenbark [Thu, 21 Oct 2010 20:11:46 +0000 (13:11 -0700)]
Updated supporting text to reflect new poky-4.0-build directory in example

The example commands that build an image were updated to reflect the
real 4.0 release.  I updated the paragraph after the example commands
to refer to the new release used in the command examples.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation-project-qs: Remove stray ]
Richard Purdie [Thu, 21 Oct 2010 19:08:51 +0000 (20:08 +0100)]
documentation-project-qs: Remove stray ]

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodocumentation/qs-guide: Fix urls for release
Richard Purdie [Thu, 21 Oct 2010 19:02:44 +0000 (20:02 +0100)]
documentation/qs-guide: Fix urls for release

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoEdits as described below:
Scott Rifenbark [Thu, 21 Oct 2010 19:03:52 +0000 (12:03 -0700)]
Edits as described below:

1) Wording change based on Darren's input of making Linux kernel sound like the only open source part of YL

2) Removal of the "v" option for the tar command example.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoReview changes applied.
Scott Rifenbark [Wed, 20 Oct 2010 16:47:09 +0000 (09:47 -0700)]
Review changes applied.

1. Added Richard Purdie's general editing feedback to the "Welcome" and
"Introducing the Yocto Project Development Environment" sections.

2. Added Kevin Tian's feedback:  1) changed "Sudo" to "sudo", 2) reversed
the order of the sample "cd" and "source" commands since the "source" command
builds the directory structure first so changing to the directory before running
"source" made no sense, 3) removed the "bitbake qemu-native" command.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoUpdated figure.
Scott Rifenbark [Wed, 20 Oct 2010 16:44:35 +0000 (09:44 -0700)]
Updated figure.

Feedback from Kevin Tian suggested that the outer box be labeled "QEMU" rather
than "Target."  Also that the two inner boxes be "Set of Emulated Devices" and
"Target CPU."  Final change was the use of "Yocto Project Scripts" rather than
"Yocto Linux Scripts."

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoUpdated this figure to correctly capaitalize opkg, zyper, and app-get
Scott Rifenbark [Wed, 20 Oct 2010 16:41:37 +0000 (09:41 -0700)]
Updated this figure to correctly capaitalize opkg, zyper, and app-get

Feedback from Kevin Tian suggested "OPKG" should be lower-case.
Also, use of "zypper" instead of "YUM."  I also lower-cased
"apt-get."

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoRemoved reference to pre-build in section 5.3.2, "Using OprofileUI".
Scott Rifenbark [Wed, 20 Oct 2010 16:36:08 +0000 (09:36 -0700)]
Removed reference to pre-build in section 5.3.2, "Using OprofileUI".

The "Using OprofileUI" section had a description of how to use a
pre-built UI and how to download and build one.  Feedback from Jessica
Zhang suggested removing the instruction for using a pre-built UI.
All that remains in the first paragraph now is instruction on how
to download and build the UI.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agoAdded the Anjuta Plug-in information
Scott Rifenbark [Mon, 18 Oct 2010 20:53:26 +0000 (13:53 -0700)]
Added the Anjuta Plug-in information

    Added section 5.1.2.2 "The Anjuta Plug-in" into the Poky Reference Manual.
    This section consists of sub-sections 5.1.2.2.1 "Setting Up the Anjuta
    Plug-in", 5.1.2.2.2 "Configuring the Anjuta Plug-in", and 5.1.2.2.3 "Using
    the Anjuta Plug-in".  This information was in the original Poky Handbook
    but had been removed by me since I thought it was not going to be supported
    for the 0.9 Yocto Release.  It has now been restored with a note indicating
    that Anjuta will not be supported post 0.9 release.

    I did some general text editing in each section for readability.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
14 years agodocumentation/pokt-ref-manual: Update with Yocto branding
Richard Purdie [Fri, 15 Oct 2010 14:14:06 +0000 (15:14 +0100)]
documentation/pokt-ref-manual: Update with Yocto branding

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodocumentation: Add Yocto quickstart guide
Richard Purdie [Fri, 15 Oct 2010 14:08:01 +0000 (15:08 +0100)]
documentation: Add Yocto quickstart guide

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agorm_work.bbclass: Handle case where pseudo directory doesn't exist
Richard Purdie [Fri, 22 Oct 2010 23:56:38 +0000 (00:56 +0100)]
rm_work.bbclass: Handle case where pseudo directory doesn't exist

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/fetch: When fetchers return errors, ensure any partial download is cleared
Richard Purdie [Fri, 22 Oct 2010 23:22:54 +0000 (00:22 +0100)]
bitbake/fetch: When fetchers return errors, ensure any partial download is cleared

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopackage_deb: The packaging command itself is run under fakeroot so these lines are...
Richard Purdie [Fri, 22 Oct 2010 22:05:45 +0000 (23:05 +0100)]
package_deb: The packaging command itself is run under fakeroot so these lines are totally unneeded

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agoFix adding new contact failure when starting contacts for the 1st time
Zhai Edwin [Fri, 22 Oct 2010 09:11:26 +0000 (17:11 +0800)]
Fix adding new contact failure when starting contacts for the 1st time

When contacts called for the 1st time, adding new contact always failed but
worked after restart. The reason is e-addressbook-factory used to handle
addressbook leads a segmentation fault. Root cause is that factory would
create the data base if not exist, but use it without proper
initialization.

[BUGID #455] got fixed by this.

Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
14 years agoclasses: Only enable fakeroot on setscene tasks with packaging
Richard Purdie [Fri, 22 Oct 2010 15:34:06 +0000 (16:34 +0100)]
classes: Only enable fakeroot on setscene tasks with packaging

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobitbake/fetch: Make URL checking slightly less verbose (distracting with the sstate...
Richard Purdie [Fri, 22 Oct 2010 13:31:18 +0000 (14:31 +0100)]
bitbake/fetch: Make URL checking slightly less verbose (distracting with the sstate code)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agosstate: Fix mirror handling for file:// urls
Richard Purdie [Fri, 22 Oct 2010 13:27:44 +0000 (14:27 +0100)]
sstate: Fix mirror handling for file:// urls

The fetcher has special handling for file:// mirror urls, being efficient and
just providing an updated path. Unfortunately the sstate fetching code wasn't
able to handle this. This patch detects this and injects a symlink to ensure
everything works. It also fixes some datastore references to be correct and
ensures the sstate download directory exists if it doesn't already.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agodocumentation/bsp: update to reference FILESEXTRAPATHS
Joshua Lock [Fri, 22 Oct 2010 12:50:14 +0000 (13:50 +0100)]
documentation/bsp: update to reference FILESEXTRAPATHS

It's no longer neccesarry to define THISDIR and FILESPATH in each bbappend
recipe. Should you need to reference extra files you should use FILESEXTRAPATHS

Signed-off-by: Joshua Lock <josh@linux.intel.com>
14 years agopseudo/fakeroot: Move the pseudo directory creation into bitbake
Richard Purdie [Fri, 22 Oct 2010 12:00:40 +0000 (13:00 +0100)]
pseudo/fakeroot: Move the pseudo directory creation into bitbake

If sstate was used to accelerate a build, the pseudo directory might not have
been created leading to subsequent task failures.

Also, sstate packages were not being installed under pseudo context meaning
file permissions could have been lost.

Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures
exists before running tasks and running the appropriate setscene tasks under
fakeroot context.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopackage_deb: Fix a typo meaning the debian packaging was not running in the fakeroot...
Richard Purdie [Fri, 22 Oct 2010 11:59:54 +0000 (12:59 +0100)]
package_deb: Fix a typo meaning the debian packaging was not running in the fakeroot evnironment

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agopackage_rpm: Don't check for the existence of dvar as its never used
Richard Purdie [Fri, 22 Oct 2010 11:56:20 +0000 (12:56 +0100)]
package_rpm: Don't check for the existence of dvar as its never used

If a sstate package exists for the package task but not for the rpm packaging
task, the output from the package task will be used. The directory pointed
to by dvar will not exist under this scenario.

Since the directory is never used by the packaging process remove the
check, substituting the pkgd variable which is always present and used.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
14 years agobase.bbclass: Ensure an empty do_build tasks exists to silence a warning
Richard Purdie [Fri, 22 Oct 2010 11:53:36 +0000 (12:53 +0100)]
base.bbclass: Ensure an empty do_build tasks exists to silence a warning

The message "WARNING: Function do_build doesn't exist" doesn't look professional,
so fix the underlying problem even if this warning is harmless.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>