On Tue, 2020-09-22 at 12:52 -0500, Seebs wrote: > On Tue, 22 Sep 2020 18:22:18 +0100 > "Richard Purdie" <[email protected]> wrote: > > > The "fun" here is that "make install" is rewriting Makefiles within > > the source code tree. The install step runs under pseudo, earlier > > ones do not. > > If we rerun earlier non-pseudo steps, the Makefiles get reset to > > their > > original state, then "make install" modifies them again. > > ugh. > > Okay, so. A vague thought about how to perhaps approach this: A > post-install step, which basically does: > pseudo cp Makefile Makefile.pseudo > pseudo rm Makefile > [not-pseudo] cp Makefile.pseudo Makefile > pseudo rm Makefile.pseudo > > So that, at the end of the post-install, the files pseudo doesn't > want > to know about are forgotten. Possibly there ought to be a "forget > about > this directory" option/command.
We're not going to know the exact files unfortunately so it would likely need to be an "all paths starting with XXX, YYY" type command. A quick scan of my TMPDIR shows 17,000 of these path mismatches and I'm not sure there is a single path in there we care about, it does mean a lot of permissions are being mangled though :( Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#142728): https://lists.openembedded.org/g/openembedded-core/message/142728 Mute This Topic: https://lists.openembedded.org/mt/77012533/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
