* [PATCH] gobject-introspection: disable scanner caching in install
@ 2020-08-13 17:37 Jeremy Puhlman
2020-08-13 18:02 ` ✗ patchtest: failure for " Patchwork
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Puhlman @ 2020-08-13 17:37 UTC (permalink / raw)
To: openembedded-core; +Cc: Jeremy Puhlman
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-13 18:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-13 17:37 [PATCH] gobject-introspection: disable scanner caching in install Jeremy Puhlman
2020-08-13 18:02 ` ✗ patchtest: failure for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox