diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2016-04-07 16:34:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-09 23:00:43 +0100 |
commit | 1cb99dd5943d5a94f33ba07697c81e54c8d1f6e7 (patch) | |
tree | d9e076c591a08883e3f3dfb11106a5d345cf6b44 /meta/classes/populate_sdk_ext.bbclass | |
parent | 2431ed7ec6a43334f056136b49db57c02ed9bd9a (diff) | |
download | poky-1cb99dd5943d5a94f33ba07697c81e54c8d1f6e7.tar.gz |
populate_sdk_ext.bbclass: Enable locked sigs errors
With the extensible sdk we want there to be an error if a task tries to
run without signatures that match locked-sigs.inc. This patch enables
that error.
[YOCTO #9195]
(From OE-Core rev: fad9bbba1154d68b5dc808d2976aa6484cd49c91)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_ext.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_ext.bbclass | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 4ad190b2c0..d1977a760a 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass | |||
@@ -209,8 +209,15 @@ python copy_buildsystem () { | |||
209 | # Bypass the default connectivity check if any | 209 | # Bypass the default connectivity check if any |
210 | f.write('CONNECTIVITY_CHECK_URIS = ""\n\n') | 210 | f.write('CONNECTIVITY_CHECK_URIS = ""\n\n') |
211 | 211 | ||
212 | # Ensure locked sstate cache objects are re-used without error | 212 | # This warning will come out if reverse dependencies for a task |
213 | f.write('SIGGEN_LOCKEDSIGS_CHECK_LEVEL = "none"\n\n') | 213 | # don't have sstate as well as the task itself. We already know |
214 | # this will be the case for the extensible sdk, so turn off the | ||
215 | # warning. | ||
216 | f.write('SIGGEN_LOCKEDSIGS_SSTATE_EXISTS_CHECK = "none"\n\n') | ||
217 | |||
218 | # Error if the sigs in the locked-signature file don't match | ||
219 | # the sig computed from the metadata. | ||
220 | f.write('SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "error"\n\n') | ||
214 | 221 | ||
215 | # Hide the config information from bitbake output (since it's fixed within the SDK) | 222 | # Hide the config information from bitbake output (since it's fixed within the SDK) |
216 | f.write('BUILDCFG_HEADER = ""\n') | 223 | f.write('BUILDCFG_HEADER = ""\n') |