]> code.ossystems Code Review - openembedded-core.git/commitdiff
gobject-introspection: Don't write $HOME into scripts
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Sep 2021 10:14:41 +0000 (11:14 +0100)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 20 Oct 2021 07:37:51 +0000 (15:37 +0800)
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 <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb

index 3b884f03e9b66aad78d324fad9905bd0966dd0a1..8b752f7e7d0aaabf03ecd78c040ca615b54e5b60 100644 (file)
@@ -94,7 +94,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 "\$@"