diff options
author | Trevor Woerner <twoerner@gmail.com> | 2018-07-09 12:29:16 -0400 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-07-10 09:30:16 +0800 |
commit | 089dd7e8116c664f1f45e1b1a584260a7d331b98 (patch) | |
tree | f71c3732d525824e84140fd29a82824182de8566 /meta-efi-secure-boot | |
parent | 4a357121bff4839cb481286f768550d58b36f29c (diff) | |
download | meta-secure-core-089dd7e8116c664f1f45e1b1a584260a7d331b98.tar.gz |
tpm2 git AUTOREV fix for BB_NO_NETWORK
Bitbake will try an ls-remote for any recipe whose SRCREV is AUTOREV,
even if that recipe will not ultimately be used for a particular build.
Therefore if the user specifies 'BB_NO_NETWORK = "1"', the _git versions of
the tpm2 recipes will cause the build to fail even if the _git versions are
not going to be built (which they won't be by default on account of their
DEFAULT_PREFERENCE being set to "-1").
This fix follows the same pattern as
https://github.com/sbabic/meta-swupdate/commit/721fcc89c53debcd6582bd1aa972f75297cf12e9
With this fix, the user can disable networking and successfully build the
non-_git versions of the tpm2 recipes. If the user wants to build the _git
versions, networking must be enabled. The build is expected to fail if the
user asks for the _git versions, but disables networking.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Diffstat (limited to 'meta-efi-secure-boot')
0 files changed, 0 insertions, 0 deletions