]> code.ossystems Code Review - openembedded-core.git/commit
ovmf: make output binaries reproducible
authorRoss Burton <ross@burtonini.com>
Tue, 16 Mar 2021 19:38:02 +0000 (19:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Mar 2021 22:21:09 +0000 (22:21 +0000)
commit8b4e5a3b8c3eabfbb94ab577529240b2e270efa7
tree9cd5b6d49ac83741097ee07b280add09b8601ec9
parentcd273c611b03bd5972da8bf4accaba247f7c9c62
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>
meta/recipes-core/ovmf/ovmf/zero.patch [new file with mode: 0644]
meta/recipes-core/ovmf/ovmf_git.bb