[yocto] [auh][PATCH 07/20] buildhistory.py: replace cleanall with cleansstate

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Dec 14 08:35:47 PST 2017


From: Alexander Kanavin <alex.kanavin at gmail.com>

It should not be really necessary, and wastes time
as the upstream source needs to be re-fetched.

Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
---
 modules/buildhistory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/buildhistory.py b/modules/buildhistory.py
index 9085233..e78da05 100644
--- a/modules/buildhistory.py
+++ b/modules/buildhistory.py
@@ -49,7 +49,7 @@ class BuildHistory(object):
         os.environ["BUILDHISTORY_DIR"] = self.buildhistory_dir
 
     def init(self, machines):
-        self.bb.cleanall(self.pn)
+        self.bb.cleansstate(self.pn)
         for machine in machines:
             self.bb.complete(self.pn, machine)
             self.revs.append(self.git.last_commit("master"))
-- 
2.15.0




More information about the yocto mailing list