WeAreFairphone / android_device_fairphone_FP3

Android / LineageOS 16 device tree for Fairphone 3
46 stars 7 forks source link

Add required disk space to requirements in README #18

Closed raginggoblin closed 4 years ago

raginggoblin commented 4 years ago

My build stopped with the following message: '/root/build.sh: line 151: cannot create temp file for here-document: No space left on device'

Apparently the build needs more than 65 GB on disk. Docker volume of build system took all space left. It would be convenient if the README pointed out the required disk space.

klic commented 4 years ago

I had to give the lineage directory nearly 200G....

raginggoblin commented 4 years ago

I had to give the lineage directory nearly 200G....

Wow, in that case I have to repartition my disk. I did not use LVM :sob:

klic commented 4 years ago

I switched to using LVM long ago. Just way more flexible, e.g. creating throw away file systems,, intermediate storage for backups....

theraser commented 4 years ago

The required disk space (currently 100GB) is already mentioned at the linked build guide (https://wiki.lineageos.org/devices/river/build). But since this isn't enough anymore, there is a pull request regarding this old (?) information: https://github.com/LineageOS/lineage_wiki/pull/145

mstaz commented 4 years ago

Unfortunately building Android requires a lot of disk space. I think you can save a little space by adding --depth=1 to the repo init command.

dk1978 commented 4 years ago

README now mentions the needed space.