[oe-commits] [openembedded-core] 02/03: distrodata: Exclude DATETIME reference from sstate checksum

git at git.openembedded.org git at git.openembedded.org
Sat Apr 9 22:48:42 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit c0a701a2165e858ec13b991943cc783bc4186fb9
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Apr 9 23:16:09 2016 +0100

    distrodata: Exclude DATETIME reference from sstate checksum
    
    Otherwise the task hash changes between server and worker context
    leading to changing task checksums.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/distrodata.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 44c06e1..51bfc1e 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -104,6 +104,7 @@ python do_distrodata_np() {
             line = line + "," + i
         bb.note("%s\n" % line)
 }
+do_distrodata_np[vardepsexclude] = "DATETIME"
 
 addtask distrodata
 do_distrodata[nostamp] = "1"
@@ -196,6 +197,7 @@ python do_distrodata() {
             f.close()
         bb.utils.unlockfile(lf)
 }
+do_distrodata[vardepsexclude] = "DATETIME"
 
 addtask distrodataall after do_distrodata
 do_distrodataall[recrdeptask] = "do_distrodataall do_distrodata"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list