]> code.ossystems Code Review - openembedded-core.git/commit
rpm: Deterministically set vendor macro entry
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Oct 2021 10:14:18 +0000 (11:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Oct 2021 15:43:23 +0000 (16:43 +0100)
commitf6434075b2bdfc23c683d22281b674b1e6abde77
treefb46d308a594100a5b40e22822a617305be919c8
parent2bd9c806de7e5197168360e3bd1d223a04a92291
rpm: Deterministically set vendor macro entry

On an aarch64 build host, vendor is found to be "unknown", on x86 systems
it is "pc". This filters through to the PLATFORM tag in target rpms.

We saw reproducibility test failures where the PLATFORM tags in noarch
rpms were changing depending upon which host built them. Forcing the
vendor value to a consistent one makes things deterministic.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm_4.16.1.3.bb