[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7495/8267] bitbake: siggen: Add reset to SignatureGenerator



commit 49f530c2189c21942814349274539c69e4828d48
Author: Caio Marcelo de Oliveira Filho <caio oliveira intel com>
Date:   Wed Aug 30 15:35:52 2017 -0700

    bitbake: siggen: Add reset to SignatureGenerator
    
    Fix failure after commit "cooker/siggen: Reset siggen when reparsing"
    (e4c6ca9440f63761560b49bbe12654441f54687e) when executing without
    specifying a BB_SIGNATURE_HANDLER.
    
    (Bitbake rev: 2a78c2d09aea0323632bbc927f370f1d3c9c249e)
    
    Signed-off-by: Caio Marcelo de Oliveira Filho <caio oliveira intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 bitbake/lib/bb/siggen.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 4380760..7521a3a 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -69,6 +69,9 @@ class SignatureGenerator(object):
     def set_taskdata(self, data):
         self.runtaskdeps, self.taskhash, self.file_checksum_values, self.taints, self.basehash = data
 
+    def reset(self, data):
+        return
+
 class SignatureGeneratorBasic(SignatureGenerator):
     """
     """


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]