Received: from [209.85.200.168] (helo=wf-out-1314.google.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1LblAB-0003Jb-Gk for openembedded-devel@openembedded.org; Tue, 24 Feb 2009 01:28:43 +0100 Received: by wf-out-1314.google.com with SMTP id 25so2301280wfc.6 for ; Mon, 23 Feb 2009 16:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=gvpfidM+dVpnr5TWwLEtYdWfD6842S4rIOkugOgtLqQ=; b=pgeKXj0ZYkjJ7qJ15eD9yn9dkUqCaOTJUkHFxM7xgVrb/j0t4rXdrv8RSeZqJGttgt /0Ee3HmuL/BV91MHHYvjCOqj8D0EwmHXi6JsejN0nRc+URpBQszknXGpxRqDLMhazZ4E jHeYqnCXuGFQxpnX7L4EF/vQr1f/vnu8AKt+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=w3OYdrTI/2e/DuuSGewIYsRvRd8AxaCEUOjyDUPA2YcYUMeDfWDww6a6QyjC7K8/A6 BlBoU+uqdOlg1ZMwtI6iIHN6qK/AOgM4vDHN3qhI7Ll1CLWxyjUMPPVro3avkylKRQX5 iivRuba6BpScTSUyv/jFxWgbFlgpuFIZPU5Gw= MIME-Version: 1.0 Received: by 10.143.41.5 with SMTP id t5mr2220532wfj.134.1235435146486; Mon, 23 Feb 2009 16:25:46 -0800 (PST) Date: Mon, 23 Feb 2009 16:25:46 -0800 Message-ID: From: "Theodore A. Roth" To: openembedded-devel@openembedded.org Subject: [PATCH] [Doc] getting_oe.xml: Update documentation. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2009 00:28:44 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit * New section about directory structure. * Update 'Getting BitBake' section. Signed-off-by: Theodore A. Roth --- usermanual/chapters/getting_oe.xml | 103 +++++++++++++++++++++++++++++------- 1 files changed, 83 insertions(+), 20 deletions(-) diff --git a/usermanual/chapters/getting_oe.xml b/usermanual/chapters/getting_oe.xml index 9238e4f..c7eb7ec 100644 --- a/usermanual/chapters/getting_oe.xml +++ b/usermanual/chapters/getting_oe.xml @@ -2,30 +2,93 @@ Getting Started +
+ OpenEmbedded Directory Structure + + Before you begin downloading OpenEmbedded, you need to setup your + working environment. + + The first step is to decide where on your system you wish to + work. This document will use the $OEBASE variable to + denote the base directory of the OpenEmbedded environment. For + example, $OEBASE could + be /home/joe/work/oe. + + The base directory of your OpenEmbedded environment + ($OEBASE) is the location where sources will be checked + out (or unpacked). You must choose a location with no symlinks + above it. + + To create the directory structure: + + +$ mkdir -p $OEBASE/build/conf +$ cd $OEBASE + + The $OEBASE/build directory will contain your + local configurations and extensions to the OpenEmbedded system which allow + you to build your applications and images. + + + The $OEBASE will also contain both bitbake/ and + openembedded/ directories. These will be discussed in + and + . + +
+
Getting <application>BitBake</application> - The required version of BitBake is - changing rapidly. At the time of writing (end 2007) - BitBake 1.8.latest was required. - - A safe method is to get the BitBake from - a stable Subversion branch (those with an even minor number). -svn co http://svn.berlios.de/svnroot/repos/bitbake/branches/bitbake-1.8 -... -A bitbake-1.8/classes/base.bbclass -U bitbake-1.8 -At revision 827. - BitBake is checked out now; - this completes the first and most critical dependency of OpenEmbedded. - Issuing svn up in the - bitbake-1.8 directory will update - BitBake to the latest stable version, but - generally it is a good idea to stick with a specific known working version - of BitBake until OpenEmbedded asks you to - upgrade. + Before using OE, you must first obtain the build tool it needs: + bitbake. + + It is recommended to run bitbake without installing it, as a sibling + directory of openembedded/ + and build/ directories. Indeed, as bitbake is written + in python it does not need compilation for being used. You'll just have to + set the PATH variable so that the BitBake tools are accessible (see + ). + +
Getting <application>BitBake</application> Using Subversion + To checkout the latest version of the BitBake 1.8 branch, use the + following command: + +$ cd $OEBASE +$ svn co svn://svn.berlios.de/bitbake/branches/bitbake-1.8/ bitbake + + + + BitBake is checked out now and + the $OEBASE directory will contain + a bitbake/ subdirectory. + + If you need to access a Subversion server through a proxy, see the + SVN FAQ + +
+ +
Updating <application>BitBake</application> + Bitbake is being revised fairly often. Periodically it's a good + idea to check the repository of bitbake stable branches to see if a + new stable branch is available or if the current branch has been + revised. Compare your existing bitbake directory with the latest + bitbake branch in the repository. Your existing bitbake branch and + its 'last changed revision' number can be found as follows: + + $ cd $OEBASE/bitbake; svn info + + If there is a new stable branch, you will want to move or delete + your existing bitbake directory and repeat the process listed above + under "To obtain bitbake". If there is no new branch, it is easy to + update bitbake: + + $ cd $OEBASE/bitbake; svn update + +
+
Getting OpenEmbedded @@ -67,4 +130,4 @@ bitbake <recipe_name> This section is a stub, help us by expanding it
-
\ No newline at end of file + -- 1.5.4.3