From: Richard Purdie Date: Thu, 30 Sep 2021 10:14:41 +0000 (+0100) Subject: gobject-introspection: Don't write $HOME into scripts X-Git-Tag: yocto-3.4~33 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=5df092524e93cd7d0eaa633ec8a5689d4c0d018d;p=openembedded-core.git 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. Signed-off-by: Richard Purdie --- 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 # from the target sysroot. cat > ${B}/g-ir-scanner-wrapper << EOF #!/bin/sh -# This prevents g-ir-scanner from writing cache data to $HOME +# This prevents g-ir-scanner from writing cache data to user's HOME dir export GI_SCANNER_DISABLE_CACHE=1 g-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 "\$@"