diff options
author | Jeremy Puhlman <jpuhlman@mvista.com> | 2020-08-13 10:37:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-15 11:44:20 +0100 |
commit | 0bdb86b457fe8193981b45d9221582b9808e11f2 (patch) | |
tree | 60ec099f3b5b01b23b1d8f4551c558e5fabe8dbb /meta | |
parent | e95851d966bc3f11177ea0862a6e5c37b650d0fb (diff) | |
download | poky-0bdb86b457fe8193981b45d9221582b9808e11f2.tar.gz |
gobject-introspection: disable scanner caching in install
do_compile and the wrapper already disable touching the
home cache. Do the same in do_install.
[YOCTO #13970]
(From OE-Core rev: ad4b50ca75b902d217c2ce6ebdf7cad7426fc23f)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.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.64.1.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb index 7eefdd3e27..4d80f00e10 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb | |||
@@ -131,6 +131,11 @@ do_compile_prepend() { | |||
131 | export GIR_EXTRA_LIBS_PATH=$B/.libs | 131 | export GIR_EXTRA_LIBS_PATH=$B/.libs |
132 | } | 132 | } |
133 | 133 | ||
134 | do_install_prepend() { | ||
135 | # This prevents g-ir-scanner from writing cache data to $HOME | ||
136 | export GI_SCANNER_DISABLE_CACHE=1 | ||
137 | } | ||
138 | |||
134 | # Our wrappers need to be available system-wide, because they will be used | 139 | # Our wrappers need to be available system-wide, because they will be used |
135 | # to build introspection files for all other gobject-based packages | 140 | # to build introspection files for all other gobject-based packages |
136 | do_install_append_class-target() { | 141 | do_install_append_class-target() { |