|
|
# /e/ wiki
|
|
|
|
|
|
## Build /e/
|
|
|
|
|
|
> ATTENTION : This process will only work on **case-sensitive** filesystem !
|
|
|
|
|
|
## 1. Install docker
|
|
|
|
|
|
If you have not already done so, [install docker](https://docs.docker.com/install/)
|
|
|
|
|
|
## 2. Get our docker image
|
|
|
|
|
|
```shell
|
|
|
$ docker login registry.gitlab.e.foundation:5000
|
|
|
$ docker pull registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
|
|
|
```
|
|
|
|
|
|
## 3. Create directories
|
|
|
|
|
|
```shell
|
|
|
$ sudo mkdir -p \
|
|
|
/e/src \
|
|
|
/e/zips \
|
|
|
/e/logs \
|
|
|
/e/ccache \
|
|
|
```
|
|
|
|
|
|
## 4. Start build
|
|
|
|
|
|
The the following command. Don't forget to replace `<my-device>` by your device code !
|
|
|
|
|
|
```shell
|
|
|
$ sudo docker run \
|
|
|
-v "/e/src:/srv/src:delegated" \
|
|
|
-v "/e/zips:/srv/zips:delegated" \
|
|
|
-v "/e/logs:/srv/logs:delegated" \
|
|
|
-v "/e/ccache:/srv/ccache:delegated" \
|
|
|
-e "BRANCH_NAME=eelo-0.1" \
|
|
|
-e "DEVICE_LIST=<my-device>" \
|
|
|
-e "CUSTOM_PACKAGES='GmsCore GsfProxy FakeStore Telegram Signal Mail BlissLauncher BlissIconPack MozillaNlpBackend YahooWeatherProvider AccountManager MagicEarth MuPDF OpenCamera eDrive Weather Notes Tasks NominatimNlpBackend Light'" \
|
|
|
-e "SIGNATURE_SPOOFING=restricted" \
|
|
|
-e "OTA_URL=https://ota.ecloud.global/api" \
|
|
|
-e "REPO=https://gitlab.e.foundation/e/os/android.git" \
|
|
|
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
|
|
|
```
|
|
|
|
|
|
> Be careful about disk space.
|
|
|
|
|
|
## 5. Get you build !
|
|
|
|
|
|
When build is finished, please find your images be inside `/e/zips/<my-device>` folder. To install, please refer to our [wiki](https://gitlab.e.foundation/e/wiki/en/wikis/devices-list).
|
|
|
|
|
|
If you need help, please join us on our [community support Telegram channel](https://t.me/joinchat/Fzzi3kUbP-AcoQz3zYHl5A).
|
|
|
|
|
|
To find more informations about our docker image and its environment variables [here](https://gitlab.e.foundation/e/os/docker-lineage-cicd).
|
|
|
|
|
|
To report an issue about build, please refer to [wiki issues documentation](https://gitlab.e.foundation/e/wiki/en/wikis/issues) |