]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstatesig.py: make it fatal error when sstate manifest isn't found
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 19 May 2021 10:23:02 +0000 (12:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 May 2021 14:15:15 +0000 (15:15 +0100)
* all known issues in this area were fixed, make it fatal that it
  cannot be overlooked if someone triggers this issue again

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py

index 6cd6e11acc67b080a6c7f30608b168f029572ab6..e86a09b33224e092e5b93dfe3be9634d94da1b6b 100644 (file)
@@ -453,7 +453,7 @@ def find_sstate_manifest(taskdata, taskdata2, taskname, d, multilibcache):
         manifest = d2.expand("${SSTATE_MANIFESTS}/manifest-%s-%s.%s" % (pkgarch, taskdata, taskname))
         if os.path.exists(manifest):
             return manifest, d2
-    bb.error("Manifest %s not found in %s (variant '%s')?" % (manifest, d2.expand(" ".join(pkgarchs)), variant))
+    bb.fatal("Manifest %s not found in %s (variant '%s')?" % (manifest, d2.expand(" ".join(pkgarchs)), variant))
     return None, d2
 
 def OEOuthashBasic(path, sigfile, task, d):