On Tue, 2022-05-31 at 07:11 -0700, Khem Raj wrote:
On Mon, May 30, 2022 at 3:51 AM Richard Purdie <richard.purdie@...> wrote:
I've gone around in circles on this for a long time. The background isn't obvious at first glance.
"S" represents where our source is. There is code like do_unpack which wants to clean S before rerunning the task. It can't just clean everything in WORKDIR as there is T, recipe-sysroot* and more that need to be left alone (e.g. recipe-sysroot-native may have do_fetch/do_unpack dependencies).
S is usually defined as ${BPN}-${PV} via ${BP}.
Maybe disallow workdir to be used as S it’s a rare case anyway. Add a QA check and that Should help recipes to migrate away
It isn't that rare, there are 42 in OE-Core alone.
I do think we should probably migrate away from those though.