On Tue, 12 Dec 2023 12:44:47 -0600 "Mark Hatle" <[email protected]> wrote:
> /tmp - used by the compiler (and tons of other tooling) for temporary > files, we need this for sure. If memory serves, this is basically why it was an IGNORE path list originally. If we ever accessed anything outside of pseudo, we'd get leakage. The basic pattern looks like: * file gets created outside of our workspace * we then copy it in using something that tries to preserve ownership * since file wasn't being tracked through pseudo, it has real UID on it * now we've copied something into our workspace using that UID The very early design, back in our pre-Yocto build system, imagined a single unified database being used for the entire build process, persistently. That was maybe not the best design idea, but it was how we'd been using fakeroot and I didn't really revisit it at the time. Also, we had a *lot* of cross-pollination between components, so things would end up copying in or referring to files that were part of another package, without using the intermediate archived form, so... Wild times. Definitely one of those things where, with the wisdom of hindsight, I know enough about the problem that if you asked me to do it today I'd probably confidently tell you that it's not possible. :) -s
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#192244): https://lists.openembedded.org/g/openembedded-core/message/192244 Mute This Topic: https://lists.openembedded.org/mt/103113368/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
