summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-24 12:41:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-24 12:42:49 +0000
commit1fe4a25f2244fdf67d96109dcb4f49ed75c18b32 (patch)
tree9c188eb85cd903c5fb49db8d096c2e93c13e7ee8
parent368bd5b5eebbf4cb847c52114d856372c261f35a (diff)
downloadpoky-1fe4a25f2244fdf67d96109dcb4f49ed75c18b32.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/diffoscope/diffoscope_167.bb5
1 files changed, 4 insertions, 1 deletions
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
15COMPATIBLE_HOST_libc-musl = 'null' 15COMPATIBLE_HOST_libc-musl = 'null'
16 16
17do_install_append_class-native() { 17do_install_append_class-native() {
18 create_wrapper ${D}${bindir}/diffoscope MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc 18 create_wrapper ${D}${bindir}/diffoscope \
19 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
20 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
21 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
19} 22}
20 23
21BBCLASSEXTEND = "native" 24BBCLASSEXTEND = "native"