From ad4b50ca75b902d217c2ce6ebdf7cad7426fc23f Mon Sep 17 00:00:00 2001 From: Jeremy Puhlman Date: Thu, 13 Aug 2020 10:37:53 -0700 Subject: 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] Signed-off-by: Jeremy Puhlman Signed-off-by: Richard Purdie --- .../gobject-introspection/gobject-introspection_1.64.1.bb | 5 +++++ 1 file changed, 5 insertions(+) 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() { 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() { -- cgit 1.2.3-korg