summaryrefslogtreecommitdiffstats
path: root/meta
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 11:17:21 +0100
commit6769bb83f9629997be369a985aba322e03d8d0c3 (patch)
treea37497e584f73aac209be9e7af42724f1624f917 /meta
parent9ac0dc544fdafe84908348d646e894f6a22a736d (diff)
downloadpoky-6769bb83f9629997be369a985aba322e03d8d0c3.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: ef37fca2f434eba22918e5eab4f2d5e2d499fc14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6434075b2bdfc23c683d22281b674b1e6abde77) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.16.1.3.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
index 0b58a24b99..ea1cc38806 100644
--- a/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.16.1.3.bb
@@ -59,7 +59,8 @@ AUTOTOOLS_AUXDIR = "${S}/build-aux"
59# OE-core patches autoreconf to additionally run gnu-configize, which fails with this recipe 59# OE-core patches autoreconf to additionally run gnu-configize, which fails with this recipe
60EXTRA_AUTORECONF_append = " --exclude=gnu-configize" 60EXTRA_AUTORECONF_append = " --exclude=gnu-configize"
61 61
62EXTRA_OECONF_append = " --without-lua --enable-python --with-crypto=libgcrypt" 62# Vendor is detected differently on x86 and aarch64 hosts and can feed into target packages
63EXTRA_OECONF_append = " --without-lua --enable-python --with-crypto=libgcrypt --with-vendor=pc"
63EXTRA_OECONF_append_libc-musl = " --disable-nls --disable-openmp" 64EXTRA_OECONF_append_libc-musl = " --disable-nls --disable-openmp"
64 65
65# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs 66# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs