Openembedded Core Discussions
 help / color / mirror / Atom feed
* sstate_clean() overzealous?
@ 2011-10-03 16:47 Phil Blundell
  2011-10-03 21:11 ` McClintock Matthew-B29882
  2011-10-04 10:54 ` Richard Purdie
  0 siblings, 2 replies; 11+ messages in thread
From: Phil Blundell @ 2011-10-03 16:47 UTC (permalink / raw)
  To: oe-core

The sstate_clean() function in sstate.bbclass is doing (inter alia):

    stfile = d.getVar("STAMP", True) + ".do_" + ss['task']
    [...]
    oe.path.remove(stfile + ".*")
    oe.path.remove(stfile + "_setscene" + ".*")

which means that, for tasks which set the stamp-extra-info flag to
${MACHINE}, it ends up blowing away the stamps for all machines rather
than just the current one.  The net effect of this seems to be that
there is no way to have the setscene stamps populated for more than one
MACHINE at any time, and hence all those tasks get rerun every time you
change MACHINE even if nothing else has been altered.

Is this behaviour deliberate?  It is certainly a little bit annoying but
I don't understand the internals of sstate well enough to judge what
exactly that glob is trying to accomplish.

thanks

p.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-10-04 22:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03 16:47 sstate_clean() overzealous? Phil Blundell
2011-10-03 21:11 ` McClintock Matthew-B29882
2011-10-03 21:18   ` Khem Raj
2011-10-03 21:22     ` McClintock Matthew-B29882
2011-10-03 21:24   ` Saul Wold
2011-10-03 21:30     ` McClintock Matthew-B29882
2011-10-03 22:08       ` McClintock Matthew-B29882
2011-10-04 22:19         ` Richard Purdie
2011-10-04 10:54 ` Richard Purdie
2011-10-04 15:03   ` Phil Blundell
2011-10-04 15:42     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox