summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-07 11:14:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-29 14:28:33 +0100
commitf706d3a2cbb8231e95b7a5f8f38d75153ff8b474 (patch)
tree2587674ffe648000af21af467ea2a0ec43bf0131 /meta/recipes-devtools/rpm
parent78fe96f3edf981285cb9b6a0286e45f44d8b4b21 (diff)
downloadpoky-f706d3a2cbb8231e95b7a5f8f38d75153ff8b474.tar.gz
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. (From OE-Core rev: b7dfe230b9b40145f43fa0bd42be82ae41a3ef3e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6434075b2bdfc23c683d22281b674b1e6abde77) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.14.2.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb b/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb
index c93654aa8f..ab9f0e8e29 100644
--- a/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb
@@ -62,7 +62,8 @@ export PYTHON_ABI
62# OE-core patches autoreconf to additionally run gnu-configize, which fails with this recipe 62# OE-core patches autoreconf to additionally run gnu-configize, which fails with this recipe
63EXTRA_AUTORECONF_append = " --exclude=gnu-configize" 63EXTRA_AUTORECONF_append = " --exclude=gnu-configize"
64 64
65EXTRA_OECONF_append = " --without-lua --enable-python --with-crypto=openssl" 65# Vendor is detected differently on x86 and aarch64 hosts and can feed into target packages
66EXTRA_OECONF_append = " --without-lua --enable-python --with-crypto=openssl --with-vendor=pc"
66EXTRA_OECONF_append_libc-musl = " --disable-nls" 67EXTRA_OECONF_append_libc-musl = " --disable-nls"
67 68
68# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs 69# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs