Re: WORKDIR fetcher interaction issue
On Thu, Dec 29, 2022 at 3:38 PM Trevor Woerner <twoerner@...> wrote:
On Thu 2022-12-29 @ 01:56:51 PM, Richard Purdie wrote:
This example is a bit surprising to me.
I understand the case mentioned by Richard that files aren't removed from WORKDIR when they are no longer in SRC_URI (happens to me all the time when e.g. renaming a .patch file and then seeing both old and new .patch file in WORKDIR).
But why doesn't fetcher overwrite your chrony.conf and interfaces file after MACHINEOVERRIDES is changed?
And are you really changing MACHINEOVERRIDES while MACHINE stays the same? I would expect 2 MACHINEs each with own set of MACHINEOVERRIDES and recipes like this being MACHINE_ARCH not TUNE_PKGARCH and then each will have own WORKDIR with own set of files.