Skip to contentSkip to conversation

diffoscope: Ensure rpm is configured correctly

PATCH New Richard Purdie 1 participant 1 message Feb 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 diffoscope: Ensure rpm is configured correctly

diffoscope was failing as rpm wasn't configured correctly. Fix this.

---
 meta/recipes-support/diffoscope/diffoscope_167.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-support/diffoscope/diffoscope_167.bb +4 -1
index af9682e0a82..74cd8090719 100644
@@ -15,7 +15,10 @@ RDEPENDS_${PN} += "binutils vim squashfs-tools python3-libarchive-c python3-magi
 COMPATIBLE_HOST_libc-musl = 'null'
 
 do_install_append_class-native() {
-	create_wrapper ${D}${bindir}/diffoscope MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc
+	create_wrapper ${D}${bindir}/diffoscope \
+		MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
+		RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
+		RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
 }
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.27.0