SourceCode » History » Version 1
Paul Kocialkowski, 02/05/2012 02:38 PM
| 1 | 1 | Paul Kocialkowski | h1. Getting Replicant Sources |
|---|---|---|---|
| 2 | |||
| 3 | h2. Code tree location |
||
| 4 | |||
| 5 | Start by defining the place where you want to download Replicant tree. |
||
| 6 | *The path to this place must have no space!* |
||
| 7 | |||
| 8 | h2. Installing the tools |
||
| 9 | |||
| 10 | Then, download the @repo@ tool and set it executable: |
||
| 11 | <pre> |
||
| 12 | mkdir tools |
||
| 13 | cd tools |
||
| 14 | wget https://dl-ssl.google.com/dl/googlesource/git-repo/repo |
||
| 15 | chmod a+x repo |
||
| 16 | cd ../ |
||
| 17 | </pre> |
||
| 18 | |||
| 19 | h2. Getting the source manifest |
||
| 20 | |||
| 21 | The source manifest is the list of all the git repos that are present in the Replicant tree. |
||
| 22 | There is one manifest per replicant version. |
||
| 23 | |||
| 24 | h3. Replicant 2.3 |
||
| 25 | |||
| 26 | <pre> |
||
| 27 | mkdir replicant-2.3 |
||
| 28 | cd replicant-2.3 |
||
| 29 | ../tools/repo init -u git://gitorious.org/replicant/manifest.git -b replicant-2.3 |
||
| 30 | </pre> |
||
| 31 | |||
| 32 | h3. Replicant 2.2 |
||
| 33 | |||
| 34 | <pre> |
||
| 35 | mkdir replicant-2.2 |
||
| 36 | cd replicant-2.2 |
||
| 37 | ../tools/repo init -u git://gitorious.org/replicant/manifest.git -b replicant-2.2 |
||
| 38 | </pre> |
||
| 39 | |||
| 40 | h2. Downloading the source from the repos |
||
| 41 | |||
| 42 | Now that you have configured repo to use a manifest, you can start downloading Replicant sources for the desired version. |
||
| 43 | *This is step is very long and can take the whole day to complete!* |
||
| 44 | |||
| 45 | <pre> |
||
| 46 | ../tools/repo sync |
||
| 47 | </pre> |