summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/sstatesig.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/sstatesig.py')
-rw-r--r--meta/lib/oe/sstatesig.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 038404e377..abcd96231e 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -491,7 +491,8 @@ def OEOuthashBasic(path, sigfile, task, d):
491 if task == "package": 491 if task == "package":
492 include_timestamps = True 492 include_timestamps = True
493 include_root = False 493 include_root = False
494 extra_content = d.getVar('HASHEQUIV_HASH_VERSION') 494 hash_version = d.getVar('HASHEQUIV_HASH_VERSION')
495 extra_sigdata = d.getVar("HASHEQUIV_EXTRA_SIGDATA")
495 496
496 filemaps = {} 497 filemaps = {}
497 for m in (d.getVar('SSTATE_HASHEQUIV_FILEMAP') or '').split(): 498 for m in (d.getVar('SSTATE_HASHEQUIV_FILEMAP') or '').split():
@@ -506,8 +507,11 @@ def OEOuthashBasic(path, sigfile, task, d):
506 basepath = os.path.normpath(path) 507 basepath = os.path.normpath(path)
507 508
508 update_hash("OEOuthashBasic\n") 509 update_hash("OEOuthashBasic\n")
509 if extra_content: 510 if hash_version:
510 update_hash(extra_content + "\n") 511 update_hash(hash_version + "\n")
512
513 if extra_sigdata:
514 update_hash(extra_sigdata + "\n")
511 515
512 # It is only currently useful to get equivalent hashes for things that 516 # It is only currently useful to get equivalent hashes for things that
513 # can be restored from sstate. Since the sstate object is named using 517 # can be restored from sstate. Since the sstate object is named using