Actually I tried something similar a while back; unionfs sandboxing of the phases to try and get the ability to truly track/reverse what pre_inst/pre_rm were upto, and track ebuilds builds where userpriv restrictions were in effect; problem I had was that it always wound up making gcc spew in a non-obvious way for compilation.
Either way, interesting to see someone playing with it still (nature of some of the phases, it's kind of required long term imo).
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds