I’m trying to build the Oreo-based version of /e/ using these instructions.
I enter this command:
docker run
-v “/home/rhombus/Documents/Samsung_Galaxy_A5/e_build/src:/srv/src:delegated”
-v “/home/rhombus/Documents/Samsung_Galaxy_A5/e_build/zips:/srv/zips:delegated”
-v “/home/rhombus/Documents/Samsung_Galaxy_A5/e_build/logs:/srv/logs:delegated”
-v “/home/rhombus/Documents/Samsung_Galaxy_A5/e_build/ccache:/srv/ccache:delegated”
-e “BRANCH_NAME=v1-oreo”
-e “DEVICE_LIST=a5y17lte”
-e “CCACHE_SIZE=100G”
-e “CUSTOM_PACKAGES=‘MuPDF GmsCore GsfProxy FakeStore com.google.android.maps.jar Mail BlissLauncher BlissIconPack MozillaNlpBackend OpenWeatherMapWeatherProvider AccountManager MagicEarth OpenCamera eDrive Weather Notes Tasks NominatimNlpBackend Light DroidGuard OpenKeychain Message Browser BrowserWebView Apps LibreOfficeViewer’”
-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
I immediately get this output:
Set cache size limit to 50.0 GB
[Sun Nov 17 17:19:58 UTC 2019] Branch: v1-oreo
[Sun Nov 17 17:19:58 UTC 2019] Devices: a5y17lte,
[Sun Nov 17 17:19:58 UTC 2019] (Re)initializing branch repository
[Sun Nov 17 17:19:59 UTC 2019] Copying ‘/srv/local_manifests/*.xml’ to ‘.repo/local_manifests/’
[Sun Nov 17 17:19:59 UTC 2019] Use branch lineage-15.1 on github.com/TheMuppets
[Sun Nov 17 17:19:59 UTC 2019] Syncing branch repository
sed: can’t read build/core/version_defaults.mk: No such file or directory
sed: can’t read build/core/version_defaults.mk: No such file or directory
sed: can’t read build/core/version_defaults.mk: No such file or directory
[Sun Nov 17 17:19:59 UTC 2019] Can’t detect the android version
I don’t know what name or filesystem space the error is being triggered in, so I don’t know how to start troubleshooting this. Where should I expect to find ‘build/core/version_defaults.mk’? And where is this sed command being executed?
Also, why is it setting the cache size limit to 50GB when I’ve specified 100G? (I also tried 100GB, no effect).
I know there is already an unofficial build for this (Oreo-based /e/ on Samsung Galaxy A5), but I want to build this myself until there is a community supported version.