[gnome-ostree/wip/gjs: 2/2] gnome-ostree.js: Set GIO_USE_VFS=1



commit 66ba1748c6b9193c26ade64022dd6142ddab826e
Author: Colin Walters <walters verbum org>
Date:   Thu Dec 6 17:29:28 2012 -0500

    gnome-ostree.js: Set GIO_USE_VFS=1
    
    To avoid auto-spawning a session bus, which we really don't want.
    It's also much faster.

 src/ostbuild/ostbuild-js.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ostbuild/ostbuild-js.in b/src/ostbuild/ostbuild-js.in
index 1417760..7011337 100755
--- a/src/ostbuild/ostbuild-js.in
+++ b/src/ostbuild/ostbuild-js.in
@@ -6,5 +6,7 @@ shift
 
 export GI_TYPELIB_PATH="@pkglibdir@/girepository-1.0${GI_TYPELIB_PATH:+:GI_TYPELIB_PATH}"
 export LD_LIBRARY_PATH="@pkglibdir@/${LD_LIBRARY_PATH:+:LD_LIBRARY_PATH}"
+# Don't auto-spawn a session bus
+export GIO_USE_VFS=local
 
 exec gjs -I "${jsdir}" "${jsdir}/${arg}.js" "$@"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]