From 1fe4a25f2244fdf67d96109dcb4f49ed75c18b32 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 24 Feb 2021 12:41:48 +0000 Subject: diffoscope: Ensure rpm is configured correctly diffoscope was failing as rpm wasn't configured correctly. Fix this. (From OE-Core rev: 93ad1ab49be03dd082a98f80464cfee9d98a3a33) Signed-off-by: Richard Purdie --- 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 af9682e0a8..74cd809071 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" -- cgit v1.2.3-54-g00ecf