... | @@ -2,7 +2,12 @@ |
... | @@ -2,7 +2,12 @@ |
|
|
|
|
|
## Build /e/
|
|
## Build /e/
|
|
|
|
|
|
> ATTENTION : This process will only work on **case-sensitive** filesystems!
|
|
>>>
|
|
|
|
ATTENTION : This process will only work on **case-sensitive** filesystems!
|
|
|
|
* Windows: will not work
|
|
|
|
* macOS: doesn't work either for HPS+ filesystem - adfs not tried
|
|
|
|
* Linux: work on Ubuntu and CentOS
|
|
|
|
>>>
|
|
|
|
|
|
## 1. Install docker
|
|
## 1. Install docker
|
|
|
|
|
... | @@ -28,6 +33,7 @@ $ sudo mkdir -p \ |
... | @@ -28,6 +33,7 @@ $ sudo mkdir -p \ |
|
|
|
|
|
Run the following command. Don't forget to replace `<my-device>` with your device code !
|
|
Run the following command. Don't forget to replace `<my-device>` with your device code !
|
|
|
|
|
|
|
|
|
|
```shell
|
|
```shell
|
|
$ sudo docker run \
|
|
$ sudo docker run \
|
|
-v "/e/src:/srv/src:delegated" \
|
|
-v "/e/src:/srv/src:delegated" \
|
... | @@ -43,7 +49,31 @@ $ sudo docker run \ |
... | @@ -43,7 +49,31 @@ $ sudo docker run \ |
|
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
|
|
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
|
|
```
|
|
```
|
|
|
|
|
|
> Be careful about disk space.
|
|
>>>
|
|
|
|
Example for kiwi:
|
|
|
|
```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=kiwi" \
|
|
|
|
-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
|
|
|
|
```
|
|
|
|
>>>
|
|
|
|
|
|
|
|
---
|
|
|
|
>>>
|
|
|
|
The device code can be found on [/e/ wiki](https://gitlab.e.foundation/e/wiki/en/wikis/devices-list), [LineageOS wiki](https://wiki.lineageos.org/devices/) or with the following command:
|
|
|
|
```shell
|
|
|
|
$ adb shell getprop ro.product.device
|
|
|
|
```
|
|
|
|
>>>
|
|
|
|
|
|
## 5. Get your image!
|
|
## 5. Get your image!
|
|
|
|
|
... | | ... | |