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-23 23:14:17 +0100 |
commit | 7b13a316320247c43484c27a1b9a66ae28d36ee5 (patch) | |
tree | 60c09a045f47503e3d4fe61cb6a90fd1aea5a017 /meta/recipes-gnome | |
parent | 97b565358555b1d7f58019ca613309f7c8f6adfc (diff) | |
download | poky-7b13a316320247c43484c27a1b9a66ae28d36ee5.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: 419205da83190fee53861251a03f01736a500e16)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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.62.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb index 92b0d1d52f..0842f10ea9 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb | |||
@@ -102,7 +102,7 @@ EOF | |||
102 | # from the target sysroot. | 102 | # from the target sysroot. |
103 | cat > ${B}/g-ir-scanner-wrapper << EOF | 103 | cat > ${B}/g-ir-scanner-wrapper << EOF |
104 | #!/bin/sh | 104 | #!/bin/sh |
105 | # This prevents g-ir-scanner from writing cache data to $HOME | 105 | # This prevents g-ir-scanner from writing cache data to user's HOME dir |
106 | export GI_SCANNER_DISABLE_CACHE=1 | 106 | export GI_SCANNER_DISABLE_CACHE=1 |
107 | 107 | ||
108 | 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 "\$@" | 108 | 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 "\$@" |