Re: [yocto] SRC_URI Directory Change

2021-11-08 Thread Richard Purdie
On Sun, 2021-10-17 at 14:59 -0700, Chuck Wolber wrote: > > > On Fri, Oct 15, 2021 at 6:58 AM Richard Purdie > wrote: > > > > I have a bit of a horrible idea to do this in master-next which does solve > > the > > problem. We probably need a new bitbake selftest testcase before I could > > think

Re: [yocto] SRC_URI Directory Change

2021-10-17 Thread Chuck Wolber
On Fri, Oct 15, 2021 at 6:58 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > > I have a bit of a horrible idea to do this in master-next which does solve > the > problem. We probably need a new bitbake selftest testcase before I could > think > about merging it though. > I

Re: [yocto] SRC_URI Directory Change

2021-10-15 Thread Richard Purdie
On Fri, 2021-10-15 at 03:03 -0700, Chuck Wolber wrote: > Is there a recommended strategy to get do_fetch to invalidate on directory > path changes in paths pointed to by file:// URLs in SRC_URI? > > Example: > > SRC_URI += "file://src;subdir=${S}" > > A file at src/foo/bar/baz is recognized

[yocto] SRC_URI Directory Change

2021-10-15 Thread Chuck Wolber
Is there a recommended strategy to get do_fetch to invalidate on directory path changes in paths pointed to by file:// URLs in SRC_URI? Example: SRC_URI += "file://src;subdir=${S}" A file at src/foo/bar/baz is recognized just fine. But then a directory change to something like src/foo/bar2/baz