]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 21 Oct 2021 16:05:44 +0000 (00:05 +0800)
commitef37fca2f434eba22918e5eab4f2d5e2d499fc14
treef844d3f0a487cbf2f22931cf202fab5b71b66a74
parent5b6c68759f28fd684be316b3a5e33f41e4107f7b
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: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/rpm/rpm_4.16.1.3.bb