]> 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)
committerSteve Sakoman <steve@sakoman.com>
Mon, 25 Oct 2021 23:28:19 +0000 (13:28 -1000)
commitb7dfe230b9b40145f43fa0bd42be82ae41a3ef3e
tree02690c34698255d6b30f3c5be7d3674cada96830
parent62cdc20a2186ecd54d3a7131ec8f6937aa0229ed
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>
(cherry picked from commit f6434075b2bdfc23c683d22281b674b1e6abde77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/rpm/rpm_4.14.2.1.bb