summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2024-02-02 14:23:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-03 21:43:35 +0000
commit8e841dbcc37cc8116039563335584acf6e271ff2 (patch)
treececaa6c31cdf361188ef834a3f58e6fc6c3f1875 /meta/recipes-devtools/rpm
parent6540f65a4ebb3beeeb976478fd9f5128ef88f3b2 (diff)
downloadpoky-8e841dbcc37cc8116039563335584acf6e271ff2.tar.gz
rpm: override curl executable search with just 'curl'
rpm is searching for curl executable at do_configure time and result is non-deterministic, depending on whether curl is in native sysroot or not: https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240201-8dcic6ea/packages/diff-html/ (From OE-Core rev: 785c39701ea17e6a539709b9ae905f7b0667bceb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> 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.19.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.19.1.bb b/meta/recipes-devtools/rpm/rpm_4.19.1.bb
index af11dec5ef..086f100229 100644
--- a/meta/recipes-devtools/rpm/rpm_4.19.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.19.1.bb
@@ -51,6 +51,7 @@ S = "${WORKDIR}/git"
51DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd" 51DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd"
52DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native" 52DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native"
53 53
54EXTRA_OECMAKE:append = " -D__CURL:FILEPATH=curl"
54EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF -DENABLE_OPENMP=OFF" 55EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF -DENABLE_OPENMP=OFF"
55 56
56# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs 57# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs