]> code.ossystems Code Review - openembedded-core.git/commitdiff
distrodata: add DATETIME to vardepsexclude for do_distro_check.
authorRoss Burton <ross.burton@intel.com>
Wed, 25 Jan 2017 16:21:08 +0000 (16:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 14:40:16 +0000 (14:40 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/distrodata.bbclass

index 5b3a3e0f1cfdcdd68637b58fd3296623baf4f579..9587ba0dafeea83f4af6527b674976c10637a6a5 100644 (file)
@@ -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() {
         :
 }
-
-