aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2023-04-06 16:10:33 +0200
committerKhem Raj <raj.khem@gmail.com>2023-04-06 13:45:10 -0700
commit8986c108f4b7540967f91b421ee5cc0785e47c22 (patch)
treee63645e7bf87a795a0f5fb91f9c44bb0cbc91d3b /meta-gnome
parentc126f16db2d63e339c6090900486a96e5fe58de2 (diff)
downloadmeta-openembedded-contrib-8986c108f4b7540967f91b421ee5cc0785e47c22.tar.gz
file-roller: set cpio path manually
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/file-roller/file-roller_43.0.bb9
1 files changed, 9 insertions, 0 deletions
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 6d0f1f7463..f9b6841d6b 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
+}