On 16-12-15 14:18, Mike Looijmans wrote:
On 16-12-15 13:35, Richard Purdie wrote:
On Wed, 2015-12-16 at 10:38 +0100, Mike Looijmans wrote:
I renamed "recipes-some/foo/bar.bb" to "recipes-some/buzz/bar.bb"
Rebuilding bar and its dependencies will take about 16 hours. So I
don't want
to trigger a rebuild.
running "bitbake -S printdiff bar" only reveils this:
I'm not sure I trust the output of -S printdiff, there are some cases
it doesn't seem to "guess" right. I wish I or someone one could fix but
but we can do its work manually. Can you try something like:
set TMPDIR = "x"
bitbake -S bar
rename the recipe
set TMPDIR = "y"
bitbake -S bar
Found out I need an extra "none" in here:
bitbake -S none bar
then
"ls tmp-x/stamps/xxxx/bar"
"ls tmp-y/stamps/xxxx/bar"
and see which tasks change signature. Then run:
"bitbake-diffsigs <sig A> <sig B>"
and see if that makes more sense?
That gave the same output. Everything after "runtaskdeps" is bogus because its
value changes from [blahblah, foobar] into [buzbar, blahblah] and now diffsig
seems to attempt to match the "blahblah" signatures against those of "buzbar".
Which sort of hints that if my new name starts with an "f" the reordering
won't happen, so I'm gonna try renaming to "fbuz" now,,,
Indeed.... If I rename the directory without affecting the sort order of that
array, in this situation, "fbuz" instead of "buz", the signatures will match
again, and it won't rebuild.
Looks like the problem is the way the "runtaskdeps" are sorted.
If a recipe depends on another recipe say "X", moving the recipe to a
directory which sorts to the other side of "X" will trigger a rebuild at some
stage.
M.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijm...@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core