summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-09-03 10:30:02 -0400
committerChris Lumens <clumens@redhat.com>2008-09-03 10:30:02 -0400
commit9ea609e1364c57957237e5a5ed7ed8ded8357ad8 (patch)
tree765eaf6af5413943959000daafc0f66aec01d924 /livecd.py
parentb803ca653ac6ccc6b0eac03055696b43901cebff (diff)
downloadanaconda-9ea609e1364c57957237e5a5ed7ed8ded8357ad8.tar.gz
anaconda-9ea609e1364c57957237e5a5ed7ed8ded8357ad8.tar.xz
anaconda-9ea609e1364c57957237e5a5ed7ed8ded8357ad8.zip
Do repo setup and sack setup as separate steps.
This fixes a bug where yum wants all the repos set up before it does sack setup that only appears with the blacklist/whiteout plugins enabled. It also brings us more in line with how yum really works - where the two are completely separate steps. backend.doRepoSetup has also been renamed to backend.doBackendSetup to sound a little less yum-specific.
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/livecd.py b/livecd.py
index 5da7311a1..f3afc2088 100644
--- a/livecd.py
+++ b/livecd.py
@@ -366,9 +366,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
def kernelVersionList(self, rootPath = "/"):
return packages.rpmKernelVersionList(rootPath)
- def doInitialSetup(self, anaconda):
- pass
- def doRepoSetup(self, anaconda):
+ def doBackendSetup(self, anaconda):
# ensure there's enough space on the rootfs
# FIXME: really, this should be in the general sanity checking, but
# trying to weave that in is a little tricky at present.