/[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.9 by growell, Sat Sep 17 02:01:02 2005 UTC Revision 1.13 by slords, Wed Apr 5 01:20:27 2006 UTC
# Line 39  upgrade_remove_blacklist = () Line 39  upgrade_remove_blacklist = ()
39    
40  def findRootParts(intf, id, dispatch, dir, chroot):  def findRootParts(intf, id, dispatch, dir, chroot):
41    
42      w = intf.waitWindow(_("Converting to RAID"),  #    w = intf.waitWindow(_("Converting to RAID"),
43                      _("Converting to RAID, this may take several minutes..."))  #        _("Converting to RAID, this may take several minutes..."))
44    #
45      # XXX - FIXME - HACK RAID upgrade  #    # XXX - FIXME - HACK RAID upgrade
46      rc = iutil.execWithRedirect("/tmp/updates/raidconvert",  #
47                                      ["raidconvert"],  #    rc = iutil.execWithRedirect("/tmp/updates/raidconvert",
48                                      stdin = None,  #                                ["raidconvert"],
49                                      stdout = "/dev/tty5",  #                                stdin = None,
50                                      stderr = "/dev/tty5")  #                                stdout = "/dev/tty5",
51      w.pop()  #                                stderr = "/dev/tty5")
52    #    w.pop()
53      if rc:  #
54          raise SystemError  #    if rc:
55    #        raise SystemError
56    
57      if dir == DISPATCH_BACK:      if dir == DISPATCH_BACK:
58          return          return
# Line 448  def upgradeFindPackages(intf, method, id Line 449  def upgradeFindPackages(intf, method, id
449                                        "installed arch of %s.  This is likely "                                        "installed arch of %s.  This is likely "
450                                        "to not succeed.  Are you sure you "                                        "to not succeed.  Are you sure you "
451                                        "wish to continue the upgrade process?")                                        "wish to continue the upgrade process?")
452                                      %(productName, h[rpm.RPMTAG_ARCH],                                      %(productName, myarch,
453                                        myarch),                                        h[rpm.RPMTAG_ARCH]),
454                                      type="yesno")                                      type="yesno")
455              if rc == 0:              if rc == 0:
456                  try:                  try:


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