Reputation: 33
I'm trying to port Lollipop on snapdragon 8074, And i'm running low on disk space. So i was thinking of deleting the .repo directory after repo sync is successfully done, to make some space for building the source code.
Is it necessary to keep the .repo after the source code is downloaded.?
Thank you.
Upvotes: 2
Views: 2011
Reputation: 11581
You can definitely move the .repo directory to another location and later restore it if needed. There's nothing special about that directory. If you move it, no Git or Repo commands will work, obviously. As there may be Git commands in the makefiles you could experience build failures with an absent .repo directory. I had a quick look in the Lollipop makefiles and couldn't find any obvious Git command references so there's a decent chance that you'll be okay.
Why one would want to go through this hassle to save a few tens of GB when you need a multi-core multi-GB RAM machine to be able to build is difficult to understand.
Upvotes: 3