]> code.ossystems Code Review - openembedded-core.git/commit
sstatesig: Improve the support for locked down sstate cache usage
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 11 Sep 2014 08:30:16 +0000 (16:30 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Sep 2014 21:00:05 +0000 (22:00 +0100)
commit1683815695f39d4bad352348913f927ac8a1bcf5
tree8a27a832d7246adc368f7ee4da119ebd75fdea25
parentb42f305ce38b9e0f1a2b7cb9586bbabcd2d27429
sstatesig: Improve the support for locked down sstate cache usage

Add code in the sstate hash validation code to ensure it really did
install these from sstate since if it didn't should to warn/abort
the build. The judgment condition is:
1) If a build is replaced by locked sstate-cache, it will triger a
   warn/error;
2) If objects are not used from the locked cache, it will triger a
   warn/error;
3) Use SIGGEN_LOCKEDSIGS_CHECK_LEVEL variable controls whether this
   is just a warning or a fatal error or nothing to report.

[YOCTO #6639]

(From OE-Core rev: 305912dce61c4fed0cbf631aa98a9e6f29db88e4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py