[OE-core] [PATCH] distrodata: add DATETIME to vardepsexclude for do_distro_check.

Ross Burton ross.burton at intel.com
Wed Jan 25 16:21:08 UTC 2017


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 at intel.com>
---
 meta/classes/distrodata.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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() {
         :
 }
-
-
-- 
2.8.1




More information about the Openembedded-core mailing list