If we try to setup the python path before /tmp/updates/ exists, the path
will get thrown out and won't be used even if that path will get created
at some point later. So just re-order things.
This is ugly, and shouls only live for the F18 Alpha. After that we
should be using /run/install/updates directly and thus the path can be
set there early.
---
anaconda | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/anaconda b/anaconda
index f9eb878..447a19b 100755
--- a/anaconda
+++ b/anaconda
@@ -623,8 +623,6 @@ def prompt_for_ssh():
if __name__ == "__main__":
print "Starting installer, one moment..."
- setupPythonPath()
-
# Allow a file to be loaded as early as possible
try:
import updates_disk_hook
@@ -633,6 +631,7 @@ if __name__ == "__main__":
# this handles setting up updates for pypackages to minimize the set needed
setupPythonUpdates()
+ setupPythonPath()
# do this early so we can set flags before initializing logging
from pyanaconda.flags import flags
--
1.7.11.2