[PATCH 1/3] Point gobject-introspection at our updates directory for overrides.

Chris Lumens clumens at redhat.com
Thu Jan 31 18:05:57 UTC 2013


---
 anaconda | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/anaconda b/anaconda
index d0dd05e..10d1abb 100755
--- a/anaconda
+++ b/anaconda
@@ -133,6 +133,7 @@ def set_x_resolution(runres):
 
 def setupPythonUpdates():
     from distutils.sysconfig import get_python_lib
+    import gi.overrides
 
     # Temporary hack for F18 alpha to symlink updates and product directories
     # into tmpfs.  To be removed after beta in order to directly use content
@@ -166,6 +167,8 @@ def setupPythonUpdates():
         # the updates directory.
         symlink_updates(dest, d)
 
+    gi.overrides.__path__.insert(0, "/run/install/updates")
+
     import glob
     import shutil
     for rule in glob.glob("/tmp/updates/*.rules"):
-- 
1.7.11.2



More information about the anaconda-patches mailing list