GloDroid / glodroid_manifest

Android port that aims to bring both user- and developer-friendly experience in using AOSP with a set of single-board computers (SBC), phones and other devices.
471 stars 67 forks source link

CI: Optimize repo init && repo sync using overlayfs #140

Closed rsglobal closed 3 years ago

rsglobal commented 3 years ago
  1. Instead of using mirror, use pre-cloned repository.
  2. Mount overlayfs in order to keep this directory clean, instead make all changes in overlay folder.
  3. Before build clean only overlay/ folder
rsglobal commented 3 years ago

@MaksymPrymierov , can you do this for us?

rsglobal commented 3 years ago

@MaksymPrymierov , never mind, I did this already. Repo init & sync time is reduced from ~2h down to <5m for more or less recent baseline tree.