summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-30 11:14:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-02 23:09:22 +0100
commit089b8d3e7e36a01c85eeeb0456ec3bb42feced5a (patch)
tree57fe73ca1ac52ccd1f47a9e06243b563dc88ae27 /meta/recipes-gnome
parent0e7806771e8195b086ae1e3ae3a5c5154d48f898 (diff)
downloadpoky-089b8d3e7e36a01c85eeeb0456ec3bb42feced5a.tar.gz
gobject-introspection: Don't write $HOME into scripts
Writing an expanded version of $HOME into the wrapper script breaks reproducibility. We don't need this here so don't. (From OE-Core rev: 5df092524e93cd7d0eaa633ec8a5689d4c0d018d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb
index cf1349f830..b1d3d8abdc 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb
@@ -93,7 +93,7 @@ EOF
93 # from the target sysroot. 93 # from the target sysroot.
94 cat > ${B}/g-ir-scanner-wrapper << EOF 94 cat > ${B}/g-ir-scanner-wrapper << EOF
95#!/bin/sh 95#!/bin/sh
96# This prevents g-ir-scanner from writing cache data to $HOME 96# This prevents g-ir-scanner from writing cache data to user's HOME dir
97export GI_SCANNER_DISABLE_CACHE=1 97export GI_SCANNER_DISABLE_CACHE=1
98 98
99g-ir-scanner --lib-dirs-envvar=GIR_EXTRA_LIBS_PATH --use-binary-wrapper=${STAGING_BINDIR}/g-ir-scanner-qemuwrapper --use-ldd-wrapper=${STAGING_BINDIR}/g-ir-scanner-lddwrapper --add-include-path=${STAGING_DATADIR}/gir-1.0 --add-include-path=${STAGING_LIBDIR}/gir-1.0 "\$@" 99g-ir-scanner --lib-dirs-envvar=GIR_EXTRA_LIBS_PATH --use-binary-wrapper=${STAGING_BINDIR}/g-ir-scanner-qemuwrapper --use-ldd-wrapper=${STAGING_BINDIR}/g-ir-scanner-lddwrapper --add-include-path=${STAGING_DATADIR}/gir-1.0 --add-include-path=${STAGING_LIBDIR}/gir-1.0 "\$@"