diff mbox series

[meta-gnome] file-roller: set cpio path manually

Message ID 20230406141033.3829590-1-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome] file-roller: set cpio path manually | expand

Commit Message

Markus Volk April 6, 2023, 2:10 p.m. UTC
This commit avoids HOSTTOOLS path in the file-roller and rmp2cpio binaries.
This fixes reproducibility and probably also cpio support at runtime.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-gnome/recipes-gnome/file-roller/file-roller_43.0.bb | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/file-roller/file-roller_43.0.bb b/meta-gnome/recipes-gnome/file-roller/file-roller_43.0.bb
index 6d0f1f746..f9b6841d6 100644
--- a/meta-gnome/recipes-gnome/file-roller/file-roller_43.0.bb
+++ b/meta-gnome/recipes-gnome/file-roller/file-roller_43.0.bb
@@ -33,3 +33,12 @@  FILES:${PN} += " \
     ${datadir}/metainfo \
     ${libdir}/nautilus \
 "
+
+EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross"
+
+do_write_config:append() {
+    cat >${WORKDIR}/meson-${PN}.cross <<EOF
+[binaries]
+cpio = '${bindir}/cpio'
+EOF
+}