]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Oct 2021 13:52:24 +0000 (14:52 +0100)
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>
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb

index cf1349f830aa7b4533b6005f4bc218e94b9fb889..b1d3d8abdcc1ae83a8bb3ddbe95b4bc2f588934d 100644 (file)
@@ -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 "\$@"