From a8d2a6706ea43b2ead95c8d06b6e6575ff2b0ba1 Mon Sep 17 00:00:00 2001 From: "Theodore A. Roth" Date: Tue, 24 Feb 2009 16:32:57 +0000 Subject: getting_oe.xml: Update getting openembedded section. 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 file changed, 43 insertions(+), 17 deletions(-) (limited to 'docs/usermanual') diff --git a/docs/usermanual/chapters/getting_oe.xml b/docs/usermanual/chapters/getting_oe.xml index c7eb7ec7de..69b9126fad 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. +
-- cgit 1.2.3-korg