summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 4cefea425..abeeb1790 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -332,6 +332,9 @@ class AnacondaYum(YumSorter):
if not flags.setupFilesystems:
return
+ if self._loopbackFile and os.path.exists(self._loopbackFile):
+ return
+
stage2img = None
if os.path.exists("/tmp/stage2.img"):
@@ -884,6 +887,9 @@ class YumBackend(AnacondaBackend):
pass
def doInitialSetup(self, anaconda):
+ if anaconda.dir == DISPATCH_BACK:
+ return DISPATCH_BACK
+
if anaconda.id.getUpgrade():
# FIXME: make sure that the rpmdb doesn't have stale locks :/
self._resetRpmDb(anaconda.rootPath)