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

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/recipes-support/diffoscope/diffoscope_167.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/diffoscope/diffoscope_167.bb 
b/meta/recipes-support/diffoscope/diffoscope_167.bb
index af9682e0a82..74cd8090719 100644
--- a/meta/recipes-support/diffoscope/diffoscope_167.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_167.bb
@@ -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"
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#148548): 
https://lists.openembedded.org/g/openembedded-core/message/148548
Mute This Topic: https://lists.openembedded.org/mt/80875367/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to