/[smeserver]/cdrom.image/updates/upgrade.py
ViewVC logotype

Diff of /cdrom.image/updates/upgrade.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by slords, Sun Jul 31 16:24:58 2005 UTC Revision 1.5 by slords, Mon Aug 1 05:02:21 2005 UTC
# Line 138  def mountRootPartition(intf, rootInfo, o Line 138  def mountRootPartition(intf, rootInfo, o
138              return -1              return -1
139    
140      if flags.setupFilesystems:      if flags.setupFilesystems:
141            oldfsset.checkFilesystems(instPath)
142          oldfsset.mountFilesystems(instPath, readOnly = readOnly)          oldfsset.mountFilesystems(instPath, readOnly = readOnly)
143    
144      # XXX we should properly support 'auto' at some point      # XXX we should properly support 'auto' at some point
# Line 533  def upgradeFindPackages(intf, method, id Line 534  def upgradeFindPackages(intf, method, id
534              val = rpm.labelCompare(('21', '6.0', '11'),              val = rpm.labelCompare(('21', '6.0', '11'),
535                                     (epoch, h[rpm.RPMTAG_VERSION],                                     (epoch, h[rpm.RPMTAG_VERSION],
536                                      h[rpm.RPMTAG_RELEASE]))                                      h[rpm.RPMTAG_RELEASE]))
             log("epoch: %s, version: %s, release: %s, val: %s", h[rpm.RPMTAG_EPOCH], h[rpm.RPMTAG_VERSION], h[rpm.RPMTAG_RELEASE], val)  
537              if val > 0:              if val > 0:
538                  supportedUpgradeVersion = 0                  supportedUpgradeVersion = 0
539              else:              else:


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed