Received: from [209.85.200.171] (helo=wf-out-1314.google.com) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Lc9d2-0002iW-GI for openembedded-devel@openembedded.org; Wed, 25 Feb 2009 03:36:08 +0100 Received: by wf-out-1314.google.com with SMTP id 25so2922091wfc.6 for ; Tue, 24 Feb 2009 18:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:user-agent:mime-version:content-type; bh=Xv/v0HAMMytLThINbzrYX/zSEXECGDOQYE2LVk22Xzs=; b=tMsDVKLqPoeqdtQSjsPgqBIRt5RWoj8XsxdPXJVhWPvFJWxCTeFTOalkwSgo9lKCiW TCb81IT2UexFjWBJktzy/3yg6hN8bj7mNFBJ6kdJwbLsfrgaJLbX00yZF4CyXbFQN+yH /4GXo/hJ0VY9zjSof3RZD24ymGCEFzQ8lH+Hg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:user-agent:mime-version :content-type; b=FAtCocf3vqbgfa8dB7xQG1t6UqBZzUa0V7++rInfsUbVEUwvGFvrhMaXb8aWrNwdmy Yn4W/HC3rO0cwAsP0eWbfv81BIYxRfBoOByWQ7EPF7XQ3wvLMq0FW9ZHziRYEBokvEwV OW+CgoP6EDdYDWTOOKp5mCf8CikTd+1nC1AuA= Received: by 10.142.170.6 with SMTP id s6mr2276260wfe.322.1235529181200; Tue, 24 Feb 2009 18:33:01 -0800 (PST) Received: from dorkboy (68-29-178-240.pools.spcsdns.net [68.29.178.240]) by mx.google.com with ESMTPS id 28sm9669772wfd.5.2009.02.24.18.32.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Feb 2009 18:33:00 -0800 (PST) Date: Tue, 24 Feb 2009 18:32:57 -0800 (PST) From: "Theodore A. Roth" To: openembedded-devel@openembedded.org Message-ID: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Subject: [PATCH] getting_oe.xml: Update getting openembedded section. 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: Wed, 25 Feb 2009 02:36:08 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII Resubmitted against .dev branch instead of .documentation. getting_oe.xml: Update getting openembedded section. Signed-off-by: Theodore A. Roth --- docs/usermanual/chapters/getting_oe.xml | 60 ++++++++++++++++++++++--------- 1 files changed, 43 insertions(+), 17 deletions(-) diff --git a/docs/usermanual/chapters/getting_oe.xml b/docs/usermanual/chapters/getting_oe.xml index c7eb7ec..69b9126 100644 --- a/docs/usermanual/chapters/getting_oe.xml +++ b/docs/usermanual/chapters/getting_oe.xml @@ -92,24 +92,50 @@ $ svn co svn://svn.berlios.de/bitbake/branches/bitbake-1.8/ b
Getting OpenEmbedded + Note: Once upon a time OpenEmbedded used + Monotone for version control. If you have an OE Monotone repository on + your computer, you should replace it with the Git repository. + The OpenEmbedded metadata has a high rate of development, so it's a - good idea to stay up to date. You'll need monotone 0.28 to get the - metadata and stay up to date. Monotone is available in most distributions - and has binaries at Monotone - homepage. - - Next step is getting snapshot of database. -wget http://openembedded.org/snapshots/OE.mtn.bz2 http://openembedded.org/snapshots/OE.mtn.bz2.md5 - Or if you have monotone 0.30 or later: -wget http://www.openembedded.org/snapshots/OE-this-is-for-mtn-0.30.mtn.bz2 -wget http://www.openembedded.org/snapshots/OE-this-is-for-mtn-0.30.mtn.bz2.md5 - Then verify integrity of snapshot by checking md5sum. -md5sum -c OE.mtn.bz2.md5sum - Then unpack database. -bunzip OE.mtn.bz2 - Finally checkout the development branch. -mtn --db=OE.mtn co -b org.openembedded.dev - + good idea to stay up to date. You'll need Git to get the metadata and + stay up to date. Git is available in most distributions and has binaries + at Git homepage. + +
Checking Out OpenEmbedded With Git + Once you have installed Git, checkout the OpenEmbedded repository: + +$ cd $OEBASE +$ git clone git://git.openembedded.net/openembedded + The $OEBASE/openembedded/ directory should now + exist. +
+ +
Updating OpenEmbedded + The org.openembedded.dev branch of OpenEmbedded + is updated very frequently (as much as several times an hour). The + distro branches are not updated as much but still fairly often. It + seems good practice to update your OpenEmbedded tree at least + daily. To do this, run: + +$ cd $OEBASE +$ git pull + +
+
Changing Branches + Working with multiple branches is very easy to do with Git. The + OpenEmbedded repository holds many branches. To list all branches, use this command: + $ git branch -a + Branch names that begin with origin/ denote + branches that exist on the remote server. The name with a * in front + of it is the branch currently checked out. If you want to work with a + remote branch, you must first create a local copy of it. The following + command will create a local copy of a remote branch: + $ git branch <local_name> <remote_name> + To change branches, use this command: + $ git checkout <branch_name> + There are more complicated branch operations that can be done with git, + but those are beyond the scope of this document. +
-- 1.5.4.3