From: Jeremy Puhlman <[email protected]>

do_compile and the wrapper already disable touching the
home cache. Do the same in do_install.

[YOCTO: 13970]

Signed-off-by: Jeremy Puhlman <[email protected]>
---
 .../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/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to