CleanBuildRoot |
|||||
Issue descriptionGet ToT checkout to sane state - overlays or new script
,
Nov 15
,
Nov 27
This will (as far as I understand it) be handled by the OverlayFS Lann setup. "Cleanup" turns into un-mounting the RW layer.
,
Nov 28
We also need to squash overlay changes into the RO layer here if the build succeeded. This is a performance optimization that's saving us about 20 minutes per build. That's currently handled by LVM snapshot merging which, IIRC, is more performant than overlayfs squashing because the squash operations are done on a per-file basis instead of on a per-block basis in LVM.
,
Nov 28
Correct me if I'm wrong, but I think those are different volumes. This is the build root (which get's tons of junk dumped to it during a build that we don't want sticking around for the next build). It's irrespective of performance optimizations. Aka you would never want to 'squash' this into an RO.
,
Nov 28
Yes, we currently squash the build root because Portage gracefully handles removing transient build artifacts such that we are only left with the package install graph that speeds up the N+1 build.
,
Nov 28
"Portage gracefully handles" I'm getting that framed and put on your desk.
,
Nov 28
Many things that I don't like about Portage but this isn't one of them; it does do this part very well.
,
Dec 10
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by dgarr...@chromium.org
, Nov 13