[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] gobject-introspection: disable scanner caching in install
From:       "Jeremy Puhlman" <jpuhlman () mvista ! com>
Date:       2020-08-13 17:37:53
Message-ID: 20200813173754.26674-1-jpuhlman () mvista ! com
[Download RAW message or body]

Content-Transfer-Encoding: 8bit

From: Jeremy Puhlman <jpuhlman@mvista.com>

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>
---
 .../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() {
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141431): https://lists.openembedded.org/g/openembedded-core/message/141431
Mute This Topic: https://lists.openembedded.org/mt/76172430/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic