38 |
upgrade_remove_blacklist = () |
upgrade_remove_blacklist = () |
39 |
|
|
40 |
def findRootParts(intf, id, dispatch, dir, chroot): |
def findRootParts(intf, id, dispatch, dir, chroot): |
41 |
|
# w = intf.waitWindow(_("Converting to RAID"), |
42 |
w = intf.waitWindow(_("Converting to RAID"), |
# _("Converting to RAID, this may take several minutes...")) |
43 |
_("Converting to RAID, this may take several minutes...")) |
# |
44 |
|
# # XXX - FIXME - HACK RAID upgrade |
45 |
# XXX - FIXME - HACK RAID upgrade |
# |
46 |
|
# rc = iutil.execWithRedirect("/tmp/updates/raidconvert", |
47 |
rc = iutil.execWithRedirect("/tmp/updates/raidconvert", |
# ["raidconvert"], |
48 |
["raidconvert"], |
# stdin = None, |
49 |
stdin = None, |
# stdout = "/dev/tty5", |
50 |
stdout = "/dev/tty5", |
# stderr = "/dev/tty5") |
51 |
stderr = "/dev/tty5") |
# w.pop() |
52 |
w.pop() |
# |
53 |
|
# if rc: |
54 |
if rc: |
# raise SystemError |
|
raise SystemError |
|
55 |
|
|
56 |
if dir == DISPATCH_BACK: |
if dir == DISPATCH_BACK: |
57 |
return |
return |
448 |
"installed arch of %s. This is likely " |
"installed arch of %s. This is likely " |
449 |
"to not succeed. Are you sure you " |
"to not succeed. Are you sure you " |
450 |
"wish to continue the upgrade process?") |
"wish to continue the upgrade process?") |
451 |
%(productName, h[rpm.RPMTAG_ARCH], |
%(productName, myarch, |
452 |
myarch), |
h[rpm.RPMTAG_ARCH]), |
453 |
type="yesno") |
type="yesno") |
454 |
if rc == 0: |
if rc == 0: |
455 |
try: |
try: |