diff options
author | Ross Burton <ross@burtonini.com> | 2021-03-16 19:38:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-16 22:21:09 +0000 |
commit | 8b4e5a3b8c3eabfbb94ab577529240b2e270efa7 (patch) | |
tree | 9cd5b6d49ac83741097ee07b280add09b8601ec9 /meta/recipes-core/ovmf/ovmf_git.bb | |
parent | cd273c611b03bd5972da8bf4accaba247f7c9c62 (diff) | |
download | openembedded-core-contrib-8b4e5a3b8c3eabfbb94ab577529240b2e270efa7.tar.gz |
ovmf: make output binaries reproducible
OVMF is mostly reproducible, but the final .efi binaries have a 'NM10'
segment in that references the original input file, and this input file
has the build path in.
This can be solved by passing --zero to GenFw so that this segment is
zero'd out in release builds.
[ YOCTO #14264 ]
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ovmf/ovmf_git.bb')
-rw-r--r-- | meta/recipes-core/ovmf/ovmf_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index 95ebbcc683..896b3b6320 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta/recipes-core/ovmf/ovmf_git.bb @@ -16,6 +16,7 @@ SRC_URI = "gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https \ file://0001-ovmf-update-path-to-native-BaseTools.patch \ file://0002-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch \ file://0004-ovmf-Update-to-latest.patch \ + file://zero.patch \ " PV = "edk2-stable202102" |