I have tried your solution for my mido, but the compile fails.
I am facing issue while building with docker. I am using device motog2 2014(titan). I am trying with branch eelo-0.1 it is giving error like vendor/cm not found it is aborting the build
Hi @kannan have you taken the latest of the docker image step 2 here https://gitlab.e.foundation/e/wiki/en/wikis/build#2-get-our-docker-image
Hi @Manoj , I have tried the same steps as mentioned in that link
after that i am using below for docker
sudo docker run
-v â/srv/e/src:/srv/src:delegatedâ
-v â/srv/e/zips:/srv/zips:delegatedâ
-v â/srv/e/logs:/srv/logs:delegatedâ
-v â/srv/e/ccache:/srv/ccache:delegatedâ
-e âBRANCH_NAME=eelo-0.1â
-e âDEVICE_LIST=titanâ
-e âCUSTOM_PACKAGES=âMuPDF GmsCore GsfProxy FakeStore com.google.android.maps.jar Telegram Signal Mail BlissLauncher BlissIconPack MozillaNlpBackend OpenWeatherMapWeatherProvider AccountManager MagicEarth OpenCamera eDrive Weather Notes Tasks NominatimNlpBackend Light DroidGuard OpenKeychain QKSMS Bromite BromiteWebView 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 am getting error as below
Set cache size limit to 50.0 GB
/root/build.sh: line 41: DEVICE_LIST_EELO-0.1: bad substitution
/root/build.sh: line 76: DEVICE_LIST_EELO-0.1: bad substitution
If i change the line -e âBRANCH_NAME=eelo-0.1â \ to -e âBRANCH_NAME=eeloâ . I know this is wrong. But tried with this and getting error as below
[Tue Mar 12 13:25:29 UTC 2019] Branch: eelo
[Tue Mar 12 13:25:29 UTC 2019] Devices: titan,
[Tue Mar 12 13:25:29 UTC 2019] (Re)initializing branch repository
[Tue Mar 12 13:26:51 UTC 2019] Copying â/srv/local_manifests/*.xmlâ to â.repo/local_manifests/â
[Tue Mar 12 13:26:51 UTC 2019] Canât find a matching branch on github.com/TheMuppets, using cm-14.1
[Tue Mar 12 13:26:51 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
/root/build.sh: line 139: [: : integer expression expected
[Tue Mar 12 13:26:51 UTC 2019] Missing âvendor/cmâ, aborting
Can you help me in building for moto g2 for titan . Let me know I am trying the correct branch?
Hi @kannan the error i see in the command is the branch name it should be v1-nougat or v1-oreo
- v1-nougat instead of eelo-0.1
- v1-oreo instead of eelo-0.2
So v1-nought is correct branch for building moto g2 ttitan. Am i correct?
Yes for any device to be built on nougat branch of /e/ it will be v1-nougat
after switching to v1-nought branch also facing below issus
[Tue Mar 12 14:39:29 UTC 2019] Use branch cm-14.1 on github.com/TheMuppets
[Tue Mar 12 14:39:31 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
/root/build.sh: line 139: [: : integer expression expected
[Tue Mar 12 14:45:06 UTC 2019] Missing âvendor/cmâ, aborting
kamal@ideapad:~/testeelo$
You probably have an issue during sync. Could you please show to us your logs (logs/repo-<date>.log) please?
Sorry for silly question , can you please mention the path for repo logs4
It seems to be /srv/e/logs
error: Exited sync due to fetch errors
libusb-compat
Fetching project platform/frameworks/compile/slang
Fetching project platform/external/sl4a
Skipped fetching project platform/frameworks/compile/slang (already have persistent ref)
Fetching project platform/external/lld
Skipped fetching project platform/external/sl4a (already have persistent ref)
Fetching project LineageOS/android_external_libvpx
Fetching project platform/external/messageformat
Fetching project platform/hardware/intel/audio_media
Fetching project LineageOS/android_external_elfutils
Fetching project e/os/android_packages_apps_Updater
Skipped fetching project platform/external/noto-fonts (already have persistent ref)
I have one more query also ,how to build the local changes with docker?Is it possible to make local changes and build for customisation
I had a similar error-response when I had too little empty hard disk space. How much empty hard disk space do you have? 250gb should be enough (see https://gitlab.e.foundation/e/wiki/en/wikis/build).
No more lines in the file?
About customisations, do what you want on your codebase, just avoid to run repo sync otherwise your modifications will be lost.
Now I am targeting only build to pass once build passed my next goal is to try some modifications in animations and those things
@rhunault, @Manoj, @Markus Thank you all for the support. Now my build for titan is passed. The issue is with repository sync .Once the sync completed properly the issue resolved.
You are welcome