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-02 23:09:22 +0100 |
| commit | 089b8d3e7e36a01c85eeeb0456ec3bb42feced5a (patch) | |
| tree | 57fe73ca1ac52ccd1f47a9e06243b563dc88ae27 | |
| parent | 0e7806771e8195b086ae1e3ae3a5c5154d48f898 (diff) | |
| download | poky-089b8d3e7e36a01c85eeeb0456ec3bb42feced5a.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: 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-gnome/gobject-introspection/gobject-introspection_1.68.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 93 | # from the target sysroot. | 93 | # from the target sysroot. |
| 94 | cat > ${B}/g-ir-scanner-wrapper << EOF | 94 | cat > ${B}/g-ir-scanner-wrapper << EOF |
| 95 | #!/bin/sh | 95 | #!/bin/sh |
| 96 | # This prevents g-ir-scanner from writing cache data to $HOME | 96 | # This prevents g-ir-scanner from writing cache data to user's HOME dir |
| 97 | export GI_SCANNER_DISABLE_CACHE=1 | 97 | export GI_SCANNER_DISABLE_CACHE=1 |
| 98 | 98 | ||
| 99 | 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 "\$@" | 99 | 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 "\$@" |
