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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 4325b66a9e..d24e3738ae 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -477,11 +477,14 @@ def OEOuthashBasic(path, sigfile, task, d):
477 h = hashlib.sha256() 477 h = hashlib.sha256()
478 prev_dir = os.getcwd() 478 prev_dir = os.getcwd()
479 include_owners = os.environ.get('PSEUDO_DISABLED') == '0' 479 include_owners = os.environ.get('PSEUDO_DISABLED') == '0'
480 extra_content = d.getVar('HASHEQUIV_HASH_VERSION')
480 481
481 try: 482 try:
482 os.chdir(path) 483 os.chdir(path)
483 484
484 update_hash("OEOuthashBasic\n") 485 update_hash("OEOuthashBasic\n")
486 if extra_content:
487 update_hash(extra_content + "\n")
485 488
486 # It is only currently useful to get equivalent hashes for things that 489 # It is only currently useful to get equivalent hashes for things that
487 # can be restored from sstate. Since the sstate object is named using 490 # can be restored from sstate. Since the sstate object is named using