]> code.ossystems Code Review - openembedded-core.git/commitdiff
gobject-introspection: disable scanner caching in install
authorJeremy Puhlman <jpuhlman@mvista.com>
Thu, 13 Aug 2020 17:37:53 +0000 (10:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Aug 2020 10:43:51 +0000 (11:43 +0100)
do_compile and the wrapper already disable touching the
home cache. Do the same in do_install.

[YOCTO #13970]

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.64.1.bb

index 7eefdd3e27a33ba38b4ea6682a691021fdeda5c1..4d80f00e10de330e772483a0ef2cded2a9710897 100644 (file)
@@ -131,6 +131,11 @@ do_compile_prepend() {
         export GIR_EXTRA_LIBS_PATH=$B/.libs
 }
 
+do_install_prepend() {
+        # This prevents g-ir-scanner from writing cache data to $HOME
+        export GI_SCANNER_DISABLE_CACHE=1
+}
+
 # Our wrappers need to be available system-wide, because they will be used
 # to build introspection files for all other gobject-based packages
 do_install_append_class-target() {