SourceCode » History » Revision 29
« Previous |
Revision 29/51
(diff)
| Next »
Loic Dachary, 10/22/2016 10:55 AM
Document how to install the CACert certificate
Replicant source code¶
Browsing the source code¶
The Replicant source code is currently hosted by the FSF at: https://git.replicant.us/
There is one branch per Replicant version, such as replicant-2.2
.
Disk space¶
Before downloading the Replicant source code, make sure there is a considerable amount of disk space left on the drive you intent to build Replicant on.
It is advised to have 40-50GiB available for the Replicant source code and the produced files.
Source tree root folder¶
The path to the source tree root folder must not contain spaces.
Installing the tools¶
Then, download the repo
tool and set it executable:
mkdir tools cd tools wget http://commondatastorage.googleapis.com/git-repo-downloads/repo chmod a+x repo cd ../
Initializing the repository¶
The source manifest is the list of all the git repositories that are present in the Replicant tree.
Each Replicant version has a dedicated branch with the proper source manifest.
In case errors such as server certificate verification failed happen, installing the CACert certificate may help:
mkdir /usr/local/share/ca-certificates/cacert.org wget -P /usr/local/share/ca-certificates/cacert.org http://www.cacert.org/certs/root.crt http://www.cacert.org/certs/class3.crt update-ca-certificates
Replicant 4.2¶
mkdir replicant-4.2 cd replicant-4.2 ../tools/repo init -u https://git.replicant.us/replicant/manifest.git -b replicant-4.2
Replicant 4.0¶
mkdir replicant-4.0 cd replicant-4.0 ../tools/repo init -u https://git.replicant.us/replicant/manifest.git -b replicant-4.0
Replicant 2.3¶
mkdir replicant-2.3 cd replicant-2.3 ../tools/repo init -u https://git.replicant.us/replicant/manifest.git -b replicant-2.3
Replicant 2.2¶
mkdir replicant-2.2 cd replicant-2.2 ../tools/repo init -u https://git.replicant.us/replicant/manifest.git -b replicant-2.2
Downloading/Updating the source code¶
Now that you have configured repo
, you can start downloading Replicant sources for the desired version.
This step is very long and can take hours to complete!
../tools/repo sync
Once the source code is ready, you need to get the prebuilt applications (they are downloaded from F-Droid):
vendor/replicant/get-prebuilts
You must redo these steps each time you want to sync your tree, in order to keep it up to date. Future syncs are faster than the first one.
Updated by Loic Dachary about 8 years ago · 29 revisions