diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-30 11:14:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-29 11:17:20 +0100 |
commit | 4342a32810a7ef43915a94266ac6b42c54ebf94f (patch) | |
tree | 8c615d790bcb39f8144da8ad2769fa7f10003b93 /meta | |
parent | 6cf78433996cac0af279e3bd0de1b0dfc14e64be (diff) | |
download | poky-4342a32810a7ef43915a94266ac6b42c54ebf94f.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: e9c71a121f05b07fcd5ef2acbfac3c2dc9685384)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb index 3b884f03e9..8b752f7e7d 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb | |||
@@ -94,7 +94,7 @@ EOF | |||
94 | # from the target sysroot. | 94 | # from the target sysroot. |
95 | cat > ${B}/g-ir-scanner-wrapper << EOF | 95 | cat > ${B}/g-ir-scanner-wrapper << EOF |
96 | #!/bin/sh | 96 | #!/bin/sh |
97 | # This prevents g-ir-scanner from writing cache data to $HOME | 97 | # This prevents g-ir-scanner from writing cache data to user's HOME dir |
98 | export GI_SCANNER_DISABLE_CACHE=1 | 98 | export GI_SCANNER_DISABLE_CACHE=1 |
99 | 99 | ||
100 | 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 "\$@" | 100 | 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 "\$@" |