summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-12 17:11:55 +0000
committerMatt Wilson <msw@redhat.com>2000-07-12 17:11:55 +0000
commit987f88f1bff13b839188dfebdb51e7802ce08037 (patch)
treeb72e87d5f63146773d0d70d2eb4c03fb7966f21b /todo.py
parenta3d2d3b08ea51c5f3dbd69fd7967f41b31e13671 (diff)
downloadanaconda-987f88f1bff13b839188dfebdb51e7802ce08037.tar.gz
anaconda-987f88f1bff13b839188dfebdb51e7802ce08037.tar.xz
anaconda-987f88f1bff13b839188dfebdb51e7802ce08037.zip
write out packages not upgraded on upgrade
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index 2478ad5a4..0886fe0d4 100644
--- a/todo.py
+++ b/todo.py
@@ -1433,7 +1433,7 @@ class ToDo:
logname = '/tmp/upgrade.log'
else:
logname = '/tmp/install.log'
-
+
self.instLogName = self.instPath + logname
self.instLog = open(self.instLogName, "w+")
syslog = InstSyslog (self.instPath, self.instPath + logname)
@@ -1507,6 +1507,15 @@ class ToDo:
del p
self.instLog.close ()
+ if self.upgrade:
+ self.instLog.write ("\n\nThe following packages were available on the CD but NOT upgraded:\n")
+ for p in self.hdList.packages.values ():
+ if not p.selected:
+ self.instLog.write("%s-%s-%s.%s.rpm" %
+ (p.h[rpm.RPMTAG_NAME],
+ p.h[rpm.RPMTAG_VERSION],
+ p.h[rpm.RPMTAG_RELEASE],
+ p.h[rpm.RPMTAG_ARCH]))
w = self.intf.waitWindow(_("Post Install"),
_("Performing post install configuration..."))