diffoscope: Ensure rpm is configured correctly
PATCH 1/1 diffoscope: Ensure rpm is configured correctly
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(-)
meta/recipes-support/diffoscope/diffoscope_167.bb +4 -1
@@ -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