Skip to contentSkip to conversation

distrodata: Exclude DATETIME reference from sstate checksum

PATCH New Richard Purdie 1 participant 1 message Apr 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 distrodata: Exclude DATETIME reference from sstate checksum

Otherwise the task hash changes between server and worker context leading to changing task checksums.

meta/classes/distrodata.bbclass +2 -0
index 44c06e1..51bfc1e 100644
@@ -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"