summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-17 03:27:04 +0000
committerMatt Wilson <msw@redhat.com>2000-02-17 03:27:04 +0000
commitcd88fafd06fdd2c31e017525aaa109c1ba3667ab (patch)
treeff18b3c0cb6f33e4fd50931942e377f1373011e3 /todo.py
parent3d5236f05d02b8170aadb9da10be7c31aa036dce (diff)
downloadanaconda-cd88fafd06fdd2c31e017525aaa109c1ba3667ab.tar.gz
anaconda-cd88fafd06fdd2c31e017525aaa109c1ba3667ab.tar.xz
anaconda-cd88fafd06fdd2c31e017525aaa109c1ba3667ab.zip
turn on swap before reading package headers
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/todo.py b/todo.py
index 70cf918da..b806d4029 100644
--- a/todo.py
+++ b/todo.py
@@ -700,8 +700,6 @@ class ToDo:
def upgradeFindPackages (self, root):
win = self.intf.waitWindow (_("Finding"),
_("Finding packages to upgrade..."))
- self.getCompsList ()
- self.getHeaderList ()
if self.setupFilesystems:
isys.makeDevInode(root, '/tmp/' + root)
mdList = raid.startAllRaid(self.fstab.driveList())
@@ -711,6 +709,8 @@ class ToDo:
raid.stopAllRaid(mdList)
self.fstab.mountFilesystems (self.instPath)
self.fstab.turnOnSwap(formatSwap = 0)
+ self.getCompsList ()
+ self.getHeaderList ()
packages = rpm.findUpgradeSet (self.hdList.hdlist, self.instPath)