distrodata: add DATETIME to vardepsexclude for do_distro_check.

Message ID 1485361268-28358-1-git-send-email-ross.burton@intel.com
State Accepted
Commit e6784ef0d56a1b297001bc59c0da3aecebd1c656
Headers show

Commit Message

Ross Burton Jan. 25, 2017, 4:21 p.m.
This task uses DATETIME so add it to vardepsexclude so bitbake doesn't refuse to
execute the task when the time changes between the controller and the worker
calculating the hash.

[ YOCTO #10960 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/classes/distrodata.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 5b3a3e0..9587ba0 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -392,6 +392,7 @@  python distro_check_eventhandler() {
 
 addtask distro_check
 do_distro_check[nostamp] = "1"
+do_distro_check[vardepsexclude] += "DATETIME"
 python do_distro_check() {
     """checks if the package is present in other public Linux distros"""
     import oe.distro_check as dc
@@ -475,5 +476,3 @@  do_checklicenseall[nostamp] = "1"
 do_checklicenseall() {
         :
 }
-
-